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

Taobao customer practical tutorial Baidu cloud download

Taobao Affiliate Practical Tutorial. [Section 1] ...

Why can such a low-level product advertisement generate such amazing sales?

The product advertisement I share with you today ...

Alibaba's 2016 foreign trade strategy in one chart

[[162446]] CEO Zhang Yong said at the Global B2B ...

How to create a popular product that goes viral?

Being popular and a hit is what every product asp...

Windows Phone is dead, but why don't we feel sorry for it?

Of course, we will continue to support the platfo...

What? Scientists have found the secret to keeping tomatoes firm and tasty!

Produced by: Science Popularization China Author:...

Marketing calendar for July 2020

2020 is already halfway through. I looked at the ...

How can an APP build a complete user growth system?

A complete user system is like raising a child, w...