blog address: http://findnerd.com/list/view/How-to-hideshow-Toolbar-when-list-is-scrolling/3303/
keywords:
member since: Dec 17, 2015 | Viewed: 76
How to hide/show Toolbar when list is scrolling?
Category: Technology
demo_gif
This tutorial describes how to show effect when list is scrolling up and down. Hiding Toolbar and any other views when list is scrolling down and showing it again when it’s scrolling up.
In this tutorial we are using RecyclerView and Tollbar to achieve this effect as we see in Google play. We will add list header on top of the list. To complete this task follow below points.
1) - First of all we will create a new project in Android studio and add some necessary libraries.
compile "com.android.support:recyclerview-v7:21.0.0"
compile 'com.android.support:cardview-v7:21.0.3'
2)- We will define styles.xml so that our app can use Material Theme .
3)- Next create a activity_main.xml for our MainActivity class.
{ More Related Blogs }
Technology
Lava X10 Specifications at Poo...
Jan 19, 2016
Technology
Top 10 Drupal Development Comp...
Feb 8, 2022
Technology
How To Solve InsurTech Distrib...
Jul 18, 2022
Technology
XML API Integrations...
Nov 12, 2024
Technology
Front-end Development With Ang...
Oct 30, 2015
Technology
Digital Marketing Agency...
May 28, 2022