Skip to content Skip to sidebar Skip to footer

Coordinatorlayout + Tabview + Animateview(from Top)

Yesterday I am playing with CoordinatorLayout with TabView 1) What is my target ? CoordinatorLayout with TabView When I scroll up at that time One View As show in .GIF move down.

Solution 1:

It's tricky little bit..

just try to setMinimumHeight of your CollapsingToolbarLayout like this way and do let me know.

CollapsingToolbarLayoutlayoutCollapsing= (CollapsingToolbarLayout) rootView.findViewById(R.id.layoutCollapsing);
layoutCollapsing.setMinimumHeight(120); 

here calculate your minimum height as per your need and set it in place of setMinimumHeight(120) value.

Post a Comment for "Coordinatorlayout + Tabview + Animateview(from Top)"