NavigationTabBar icon indicating copy to clipboard operation
NavigationTabBar copied to clipboard

Can you give each icon a color?

Open lomo57 opened this issue 6 years ago • 1 comments

I want different colors for different icons. Is there a way?

lomo57 avatar Dec 27 '19 01:12 lomo57

I was using following XML code. It is works for me.

app:ntb_active_color="@color/colorOrange" app:ntb_inactive_color="@color/darkGrey"

Don't use, binding.bottomNavigation.setActiveColor(R.color.red); binding.bottomNavigation.setInactiveColor(R.color.colorRose);

BeenukaPivithuru avatar Oct 22 '20 20:10 BeenukaPivithuru