Android BottomNavigationView: Change Text Color and Selected Text Color

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>

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.