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

Is the smart bracelet just a transitional product?

Estimated global shipments of wearable electronic...

Tips for setting up a Baidu information flow account!

If information flow is spending money to buy traf...

What big news did Microsoft make yesterday?

Yesterday was a very special day for people like ...

How does Zhihu operate its community?

How does Zhihu operate its community ? How does Z...

Warning: Never put frozen food back into the refrigerator after thawing!

During the Spring Festival holiday, you may have ...

Industrial 3D vision opens up new horizons for smart manufacturing

In 1969, the first CCD image sensor was born in B...