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

Calling setColoredModeColors() inside onTabSelectedListener() breaks ripple #411

Open
d-goods opened this issue Mar 25, 2019 · 0 comments
Open

Comments

@d-goods
Copy link

d-goods commented Mar 25, 2019

Calling bottomNavigation.setColoredModeColors() (or pretty much any other method from the AHBottomNavigation class) inside the onTabSelectedListener() sets the center of the color change ripple to the top left corner of the bottom navigation element. I'm suspecting that it has something to do with the createItems() method called at the end of all offending methods in AHBottomNavigation.class. Is there a way to set the color change ripple center after these methods are called so the ripple comes from the center of the icon? Thanks.

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