Devlight / Devlight/ShadowLayout

Shadow mispacement on rotation

Aperta
#18 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
634
Fork
145
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.