I would like to know what the Android implementation is of this type of scrolling 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 implement this would sincerely help this poor lost soul!
Thank you
Yahoo Weather (iOS|Android) is a weather app that displays stunning Flickr photos as a backdrop to a wide range of weather information on your phone. There are certainly other options with more weather information, but for a quick look at what's happening in your area, Yahoo Weather is a good-looking and well-made app.
There are three different widgets, with a 2x2 box joining the standard 4x2 banner and 1x1 button most weather apps use. The larger two widgets can be modified to show extended forecasts, severe weather advisories, and more. However, all of the features make Yahoo! Weather a battery hog, even among other weather apps.
use that library https://github.com/xgc1986/ParallaxPagerLibrary, it's very easy to use, and it worked for me
demo
You should separate two different things here:
The horizontal scrolling
As you swipe your way through the viewpager, the background moves slower than the content does.
This effect can be achieved with the ParallaxPagerLibrary
The vertical scrolling
As you swipe up, the background image blurs away, making the "swiped up" content more visible to the user. This post explains it all and also provides a library.
But if you want it even better, someone wrote a simple "clone" of this weather app https://github.com/MoshDev/LikeYahooWeather
They customized ViewPager
, the widget is called WeatherViewPager
that it's unfortunately unavailable, looks like a ViewPager
with a sort of parallax
You may take a look at https://play.google.com/store/apps/details?id=com.desarrollodroide.repos
it's a collection of usable opensource libraries
e.g. Utils->Paralloid
or Utils->ParallaxScroll
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With