I can change the active color with this code:
bottomBar.setActiveTabColor
But I don't know how to change the inactive color. I'm searching a lot but I can't find a way to do it.
I can change the active color with this code:
bottomBar.setActiveTabColor
But I don't know how to change the inactive color. I'm searching a lot but I can't find a way to do it.
If bottomBar is a view then it should backgroundcolor attribute android:background="@color/white" Details
When you are using Roughike's bottombar, you can set the backgroundcolor of a specific tab by using the following line:
bottomBar.getTabAtPosition(0).setBackgroundColor(backgroundColorInt);
When you use this line multiple times for each tab, you can change the backgroundcolor of the whole tab.