I'm working on Google plus android app and wondering how did they achieve scrolling effect in profile view, I searched through out web for 2 days and didn't find any tutorial on this, anybody do not know what i'm talking about can view the screenshots I've taken on my Nexus 7.
Now my curiosity is in knowing how to achieve this effect, anyone who have idea please guide me.
Parallax scrolling is a special scrolling technique used in web design where background images throughout a web page move slower than foreground images, creating an illusion of depth on a two-dimensional site.
What is a Scrolling Animation? A scrolling animation is an animation where one or multiple elements get animated while the visitor scrolls up or down the page. The animations can be of any kind: moving elements, fading effects, change in color, shape or size, or anything else that comes to your mind.
---OLD INFO----
You can also achieve this effect by using the Android-ParallaxHeaderViewPager a good example of scrolling tab header by kmshack Github page
The Sample code is give in this Here Git Hub link
The explanation for the solution is begin described in the github page
NEW UPADTE 25-4-2015
A new Library works with app compact and tool bar Andriod-Seamless-ViewPager-Header
And there is another example also avilable PlayNewsStandDemo
Check this PlayNewsStandDemo
Hope this will help you
The top is called a parallax effect, where the background image scrolls at half the speed of the actual scroll.
There is a good library you can use for that called Paralloid:
https://github.com/chrisjenx/Paralloid
The other part is the sticky tabs, which can be implemented using StickyListHeaders:
https://github.com/emilsjolander/StickyListHeaders
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