AppBarLayout and scrolling gestures (Android Growth Patterns Ep 6)
Utilizing AppBarLayout and Toolbar, your App Bar will be greater than a hard and fast ActionBar: turning into a part of your structure and reacting to scrolling.
We’ll go over the historical past of the App Bar and its previous because the system supplied ActionBar, what has modified with the introduction of Toolbars, a part of AppCompat (https://developer.android.com/instruments/support-library/options.html#v7-appcompat), and the way with the assistance of the Android Design Assist Library’s AppBarLayout you’ll be able to implement most of the materials design scrolling strategies (http://www.google.com/design/spec/patterns/scrolling-techniques.html) in your Android app.
Add the Android Design Library to your app at this time: http://android-developers.blogspot.com/2015/05/android-design-support-library.html
#ui #layouts
Subscribe to the Android Builders channel at http://goo.gl/GEh1ds
source