Android: Yahoo Weather App Horizontal Scrolling Effect?

I would like to know what the Android implementation of this type of scroll that you see in the Yahoo Weather app. Here is a video example:

http://www.youtube.com/watch?v=a-q_yetkpik

Any examples or ideas on how to realize this will truly help this poor, lost soul!

thanks

+7
java android
source share
3 answers

use this library https://github.com/xgc1986/ParallaxPagerLibrary , it is very easy to use, and it worked for me

demo

+5
source share

Here you have to separate two different things:

Horizontal scrolling
When you make your way through the viewer, the background moves slower than the content. This effect can be achieved using ParallaxPagerLibrary.

Vertical scroll
When you slide your finger across the screen, the background image is blurred, making the "swiped up" content more visible to the user. This post explains everything and also provides a library.

But if you want even better, someone wrote a simple β€œclone” of this weather app https://github.com/MoshDev/LikeYahooWeather

+2
source share

They set up a ViewPager , a widget called WeatherViewPager , which, unfortunately, is not available, looks like a ViewPager with a parallax view

You can take a look at https://play.google.com/store/apps/details?id=com.desarrollodroide.repos

this is the set of open source libraries available

eg. Utils->Paralloid or Utils->ParallaxScroll

+1
source share

All Articles