Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you give each icon a color? #151

Open
lomo57 opened this issue Dec 27, 2019 · 1 comment
Open

Can you give each icon a color? #151

lomo57 opened this issue Dec 27, 2019 · 1 comment

Comments

@lomo57
Copy link

lomo57 commented Dec 27, 2019

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

@BeenukaPivithuru
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants