Android BottomNavigationView: Change Text Color and Selected Text Color

July 19, 2019

Change TextColor

<com.google.android.material.bottomnavigation.BottomNavigationView
    ...
    app:itemTextColor="#998971"
    />

Support TextColor and Selected TextColor

<com.google.android.material.bottomnavigation.BottomNavigationView
    ...
    app:itemTextColor="@color/navigation_text_color"
    />

Create res/color/navigation_text_color.

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_checked="true" android:color="#9A8971" />
    <item android:state_checked="false" android:color="#AD9F88"/>
</selector>
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.