AndroidAnimatedNavigationBar icon indicating copy to clipboard operation
AndroidAnimatedNavigationBar copied to clipboard

The background color is conflicting with the official navigation in Compose

Open shaxzodshox opened this issue 7 months ago • 0 comments

This library has an issue whenever you add a type-safe official navigation of the compose: implementation("androidx.navigation:navigation-compose:2.8.0-beta06")

Once you add the navigation library of the compose, the background of the AnimatedNavigationBar becomes always white in API levels 26, 27. As below:

Screenshot 2024-07-27 at 16 58 07

When you remove that navigation library from your gradle it gets the color you specified..

After removing or downgrading the navigation version:

Screenshot 2024-07-27 at 16 58 07

It took me ~4 hours to determine why it is happening :)

shaxzodshox avatar Jul 27 '24 11:07 shaxzodshox