samedi 31 janvier 2015

Does all drawing in Android happen in a single thread?


Vote count:

0




I have custom checkbox PNGs. I didn't create disabled images; instead, the custom drawable, when drawing a disabled checkbox, sets a "graying-out" color filter to the state-list drawable and then draws it. That worked quite well until version 4.4.4. Unfortunately, in Android L, once a disabled checkbox is drawn, this color filter is applied to all checkboxes as soon as they are redrawn.


I am wondering whether drawing in Android L happens in multiple threads. That's the only explanation I can find for this "propagation" of the color filter to the other checkboxes...



asked 57 secs ago







Does all drawing in Android happen in a single thread?

Aucun commentaire:

Enregistrer un commentaire