I have a custom View
, which contains, amongst others, two ImageViews
on top of each other.
I set hasOverlappingRendering()
to return false, and haven't had any issues while setting alpha.
But doesn't it really contain overlapping rendering (the two ImageViews
)? Shouldn't this be a (graphical) error of some sort?
A late answer.. But better late than never. The answer is that doesn't contain overlapping rendering. I found this video really useful.
Google engineers are explaining with an example what is happening when you return false from the hasOverlappingRendering().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With