How to change the icon color selected on bottom navigation bar in android studio
To change the selected tab icon color in BottomNavigationView
you should use the Selector.
Create bottom_navigation_selector.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:color="@color/yourSelectedColor" />
<item android:color="@color/defaultColor" />
</selector>
Apply app:itemIconTint="@drawable/bottom_navigation_selector"
to your BottomNavigationView in xml
file.