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

What are the ten rivers with the largest flow in the world?

There are many large rivers in the world, and the...

Methodology: Brand promotion from 0-1!

Last year, I thought that after working in brand ...

Why can't WeChat be linked to QQ? A picture shows the answer

We know that protecting WeChat account security r...

New product marketing and promotion guide!

I have a friend who launched a new e-commerce pla...

A fireball appeared in Beijing! Can you pick up a meteorite?

In the early morning of March 27, a rare scene oc...

Why are iPhones more expensive in India than in China?

Apple CEO Tim Cook was criticized as soon as he ar...

Let’s stargaze together tonight!

Have you ever wondered how people in ancient time...

The new iPadOS 13.1 is released with many powerful new features

Apple today released iPadOS 13.1, a powerful, new...