I
I
illuzor2015-09-24 14:42:06
Android
illuzor, 2015-09-24 14:42:06

How to hide the toolbar and tabs on scroll?

Hi all.
It is necessary to implement hiding \ displaying the toolbar and tabs when scrolling the content. (Same as, for example, in the play store application).
With this layout, this is quite possible, but only if the fragment uses a RecyclerView with a given LayoutManager.
How can I implement this behavior if I want to use a set of arbitrary items, and not a RecyclerView?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Emin, 2015-09-24
@iLLuzor

NestedScrollView should help

R
Rustem Saitkulov, 2015-10-01
@atetc

Use CoordinatorLayout, AppBarLayout, Toolbar like this
stackoverflow.com/questions/32398500/toolbar-in-ap...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question