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

Animation doesn't work when FLAG_LAYOUT_NO_LIMITS is enabled #42

Open
ShreyAmbesh opened this issue Sep 21, 2018 · 0 comments
Open

Animation doesn't work when FLAG_LAYOUT_NO_LIMITS is enabled #42

ShreyAmbesh opened this issue Sep 21, 2018 · 0 comments

Comments

@ShreyAmbesh
Copy link

When I enable FLAG_LAYOUT_NO_LIMITS the animation stops but when I disable it works.

Code to enable FLAG_LAYOUT_NO_LIMITS :-
Window window = getWindow(); window.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);

Code to disable FLAG_LAYOUT_NO_LIMITS :-
window.clearFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);

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