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

How to write a promotion and marketing plan for an app?

1. Overall Logic There is only one logic in runni...

Due to the continued high temperature, many hairy crabs did not survive...

Author: Fluent The highest temperature this week ...

Revolutionize all bracelets! Can Xiaomi bracelet awaken smart wearables?

On July 22, the much anticipated Xiaomi 2014 new p...

How to buy the Kuaishou popularity agreement, or where to buy popularity?

Professional Douyin and Kuaishou likes-boosting p...

How many steps are needed to “eat” a dragon?

The dragon has a special meaning in my country. I...

As Tik Tok becomes Vlog, what opportunities are there for brand marketing?

This year, especially since the second half of th...

A 90% drop in 5 years! Why has Samsung become a pariah in China?

If three months ago, the domestic media were stil...

How does SEM bidding hosting do promotion and marketing?

With the continuous development of the times, mor...

How to build a base on the moon without any bricks or tiles?

On September 3rd local time, the National Aeronau...