I am implementing the Bottom App Bar (https://material.io/develop/android/components/bottom-app-bar/) and I am facing two challenges.
When using the
Navigation
component and navigate to a new fragment, the drawer icon turns int<-
back button but it is black. Any way to change its color?If I set the behavior to
myAppBar.hideOnScroll = true
then when I am in a Recyclerview and I scroll up, the bar gets hidden which is really nice. However, if I navigate to a new fragment, the bar remains hidden. How can I programatically show the bar again?
LE: 1. was fixed by using android:theme ThemeOverlay.MaterialComponents.Dark.ActionBar