You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
borrow AnimationDrawable from AOSP
This commit is contained in:
@@ -73,6 +73,7 @@ public class ImageView extends View {
|
||||
if (drawable instanceof BitmapDrawable) {
|
||||
setImageBitmap(((BitmapDrawable) drawable).getBitmap());
|
||||
} else if (drawable != null && drawable.paintable != 0) {
|
||||
drawable.setCallback(this);
|
||||
native_setDrawable(widget, drawable.paintable);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user