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

Remove animations #8

Open
fctaddia opened this issue Nov 25, 2020 · 4 comments
Open

Remove animations #8

fctaddia opened this issue Nov 25, 2020 · 4 comments

Comments

@fctaddia
Copy link

I would like to understand how to remove the animations of moving between fragments. The text and icons of the bottom navigation view are enlarged when clicked. Here I would like to disable this magnification. Could you solve it?

@yasszu
Copy link
Owner

yasszu commented Nov 25, 2020

That is because of shifting mode. If your app's Support library is over 28, you can disable this by setting app:labelVisibilityMode="labeled" on layout . You can also use this extension function to disable shifting mode when your app is 27 or lower.

@fctaddia
Copy link
Author

I had already implemented that code but it doesn't seem to work.

@yasszu
Copy link
Owner

yasszu commented Nov 27, 2020

What version of the support library are you using?

@fctaddia
Copy link
Author

I'm using api 30 and androidx core version is 1.3.2 while androidx appcompact version is 1.2.0

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