Toolbar in AppBarLayout is scrollable although RecyclerView has not enough content to scroll
- 阅读更多 关于 Toolbar in AppBarLayout is scrollable although RecyclerView has not enough content to scroll
问题 Is it really intended that the Toolbar in a AppBarLayout is scrollable although the main container with the "appbar_scrolling_view_behavior" has not enough content to really scroll? What I have tested so far: When I use a NestedScrollView (with "wrap_content" attribute) as main container and a TextView as child, the AppBarLayout works properly and does not scroll. However, when I use a RecyclerView with only a few entries and the "wrap_content" attribute (so that there is no need to scroll),