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

API to change badge and text color for each menu item at runtime? #99

Open
IODevBlue opened this issue Sep 29, 2022 · 0 comments
Open

Comments

@IODevBlue
Copy link

IODevBlue commented Sep 29, 2022

It'd be great to change the badge and text color for a specific menu item in code.

I'm having a really hard time trying to sync a theme dynamically without restarting the Activity.

I tried replacing the menu resource with setMenuResource() but I still cannot manipulate the badge color without editing the core API.

Also, It'd be great to be able to validate if a given menu item has a visible badge at runtime. There's no API for that.

@IODevBlue IODevBlue changed the title API to change badge color for each menu item at runtime? API to change badge and text color for each menu item at runtime? Sep 29, 2022
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

1 participant