ChadCSong / ChadCSong/ShineButton
Animation doesn't work when FLAG_LAYOUT_NO_LIMITS is enabled
- 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
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