How to set unselected Text Color for TabLayout.Tab - Android
Use app:tabTextColor
for default tab color and app:tabSelectedTextColor
for selected tab color.
<android.support.design.widget.TabLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabTextColor="#000000"
app:tabSelectedTextColor="#FFFFFF"/>