Devlight / Devlight/ShadowLayout

Shadow mispacement on rotation

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
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:
![screenshot_1513062572](https://user-images.githubusercontent.com/5779978/33871914-40daa22a-df1d-11e7-951d-df0ec5a8b65d.png)
![screenshot_1513062577](https://user-images.githubusercontent.com/5779978/33871915-40f8edb6-df1d-11e7-845a-020a96753678.png)

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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.