ParallaxScrollView - Parallax scrolling

ParallaxScrollView - Parallax scrolling

introduce

Implement a scroll view with parallax scrolling effect. The so-called parallax scrolling means that the screen has two layers of scrolling views, and the scrolling speeds of the two layers of scrolling views are different. Generally speaking, the scrolling speed of the front scrolling view is faster than the scrolling speed of the bottom scrolling view, thus creating a three-dimensional scrolling effect. You can adjust the parallax scrolling parameters. The smaller the parameter, the greater the difference in the scrolling speeds of the two layers, and the more obvious the parallax scrolling effect.

Test environment

Compilation test, test environment: Eclipse 4.2, Android 3.0 and above.

Rendering

Source code link: http://download..com/data/1968676

<<:  AndroidSlidingUpPanel

>>:  MultiChoiceAdapter—Easy to make ListView support multiple selections

Recommend

Where does the traffic for Douyin e-commerce live streaming come from?

"Why is there no traffic to my live broadcas...

If a cultural relic gets sick, does it also need an IV drip?

Do you see the IV drip in the picture? That's...

3,000-word guide to Tik Tok operations!

With 400 million daily active users, Douyin has a...

First Principles: What is the Simplest Way of Supreme Wisdom?

First Principles: What is the Simplest Way of Sup...

Why are many non-social apps so keen on social + content?

It is easy to create an APP, with a R&D team ...

Invoca: 85% of customer interactions are handled without a human

Brands are betting on AI and digital communicatio...