Questions tagged [android-appbarlayout]

AppBarLayout is a vertical LinearLayout which implements many of the features of material designs app bar concept, namely scrolling gestures.

AppBarLayout is a vertical which implements many of the features of material designs app bar concept, namely scrolling gestures.

Check the official layout documentation for additional details.

More Info

830 questions
0
votes
1 answer

add multiple fragment to cheesesquare demo

I am using an open source project(https://github.com/chrisbanes/cheesesquare) to develop my own application. what I want is: 1.In the Home Fragment, there is a tablayout below to the toobar,and when the recycelview scroll, the Toolbar can hide, but…
0
votes
1 answer

How to make the FAB react to downward scroll events before the AppBarLayout has collapsed in a CoordinatorLayout

I am trying to write a custom behaviour for the FAB. At the moment, the behaviour which I took from here controls the FAB's visibility from when the onNestedScroll() method from the CoordinatorLayout.Behavior class is called. But, onNestedScroll()…
0
votes
1 answer

Can we use layout_scrollFlags in other views except Toolbar and AppbarLayout

I have start working on Android material design support library, and as a newbie I have some confusions. And, need your help. :) 1) Is it possible to use layout_scrollFlags="scroll|enterAlways" with views like SearchView? 2) I want a SearchView just…
0
votes
1 answer

Pin TabLayout to top while Toolbar below scrolls into it using AppBarLayout

I have a TabLayout that I want always pinned to the top, and a Toolbar below that, that when the view is scrolled, scrolls up into the TabLayout.
0
votes
1 answer

Animate Layout Changes broken in Nested Layout with CollapsingToolbarLayout

I have the following layout in my activity: CoordinatorLayout ┣━ AppBarLayout ┃ ┗━ CollapsibleToolbarLayout ┃ ┣━ TextView (parallax) ┃ ┣━ TextView (pin) ┃ ┗━ Toolbar ┗━ NestedScrollView ┗━ LinearLayout ┣━ TextView 1 ┣━…
0
votes
1 answer

AppBarLayout not working with RecyclerView in android 23.0.1

I am facing an issue while implementing AppBarLayout animation with RecyclerView. It is not working. But if i replace RecyclerView with NesterRecyclerView it works fine. Please help me to fix this... …
0
votes
0 answers

Maintain Android Toolbar height with app:elevation="0dp"

I'm newbie in Android so this might be the easy question for you guys but I'm stuck. I want to remove shadow of Toolbar so I followed thread how to remove shadow below actionbar with AppCompat.Light.NoActionBar? and using app:elevation="0dp" I was…
Vicky Thakor
  • 3,847
  • 7
  • 42
  • 67
0
votes
1 answer

How to display tabLayout over the viewPager bottom on scrolling in android?

I am a newbie to android material design. I am trying to do the following: I am placing a ToolBar at the top, followed by a ViewPager and a TabLayout at the bottom of my layout. When I scroll the ViewPager to the toolbar hides but the TabLayout does…
0
votes
1 answer

Draw Navigation Drawer behind StatusBar but not AppBarLayout

I'm trying to draw my NavigationView behind status bar but my Appbar also shows behind it, on collapse. How can I stop appbar to show behind status bar? values-21 styles: