ChadCSong / ChadCSong/ShineButton

Animation doesn't work when FLAG_LAYOUT_NO_LIMITS is enabled

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
4.2k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in an Android app using WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS and the enable/disable snippets from the report. Then trace how the library starts and updates its animation while that window flag is active. Done means the animation continues to work with FLAG_LAYOUT_NO_LIMITS enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.