I’m having an issue with my app when I inflate an recyclerview. Inside the recyclerview, some cards are inflated and when it comes out to the screen, the toolbar disappears and the settings button can’t be used. Using the latest SDK and libraries versions. activity_main.xml: linha.xml -> here I get the cardview which I use to show the items on
Tag: toolbar
Children of CollapsingToolbarLayout with different collapse modes
I would like to create a CollapsingToolbarLayout that contains two views (one below the other – like a LinearLayout manner). The problem is that i would like these views to have different collapse modes – upper one parallax, the other – none. When I put them in one LinearLayout I can only set the collapse mode to this LinearLayout, so
How to implement hiding the toolbar when scrolling WebView?
I have an Activity with WebView and my own AppBarLayout. I want to implement hiding/showing the AppBarLayout with animation when scrolling the WebView, like in the Google Chrome app. I tried different ways. ObservableWebView, but it doesn’t work correctly, it doesn’t always show AppBar, especially if the page is short. ConstraintLayout with animations. Something similar, but still not the same
SearchView icon shows twice
I’ve implemented SearchView inside my toolbar, following Android’s official instructions. SearchView works well itself, but when I tap the search icon, it is shifted to the left instead of showing the Search Hint and Close button, although if I click this “second Search” icon, finally I get the typical search view. Here is my xml of the toolbar: And my