[Android] - Support size change?
dbof10 opened this issue · 2 comments
dbof10 commented
I scale down a View
but the KeyframesDrawable
is cropped. How to change KeyframesDrawable
size according to its View
size change?
lozzle commented
Hi @dbof10! What are you using to scale down the size of the view? I'd assume View scaling causes a matrix to be applied to the canvas, which results in all subsequent draws to be scaled down, but it's possible there's a bug in how the custom KeyframesDrawable is handling this that we could look into.
dbof10 commented
I scale View
down by using ObjectAnimator
e.g ObjectAnimator.ofFloat(View,View.SCALE_X,1.5F)