0
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
    </style>

 <color name="colorPrimary">#008F95</color>
    <color name="colorPrimaryDark">#008F95</color>
    <color name="colorAccent">#008F95</color>

I changed my app default theme and color to set the color for bottom navigation item when the user selected a particular item. This change is working for datepicker, checkbox, spinner but it's not working for bottom navigation item. After changing the default theme style and color bottom navigation item is white color when the user selected particular item and grey color when not selected. I want to change it into colorPrimary when the item is selected. Earlier it worked, but when I created a new project in the android studio and copied the files from the old project and now it's not working.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
deepa
  • 77
  • 13

0 Answers0