Devlight / Devlight/ShadowLayout
Shadow mispacement on rotation
- Dominant language
- Java
- Stars
- 634
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
I'm noticing a weird effect when the device is rotated:


Looks like the shadow is calculated only once when the view is inflated and then reapplied size and orientation changes.
`
...
`
The initial orientation doesn't matter - it's OK until you rotate. Rotating back and forth produces the same screens.
P.S. Great library, btw! :)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the rotation problem with the provided ShadowLayout XML and compare the shadow before and after rotating the device. Inspect how ShadowLayout handles size and orientation changes; the issue is done when the shadow remains correctly positioned after rotating back and forth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100