Devlight / Devlight/ShadowLayout

Shadow mispacement on rotation

Ouverte
#18 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
634
Forks
145
Métriques de merge des PR
Aucune PR mergée en 30 j

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! :)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.