@SuppressWarnings("unchecked")
protected void init()
{
super.init();
// https://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html
// https://developer.android.com/guide/topics/resources/animation-resource.html
// https://developer.android.com/guide/topics/graphics/drawable-animation.html
addAttrDescAN(new AttrDescReflecMethodBoolean(this, "oneshot", "setOneShot", false));
addAttrDescAN(new AttrDescReflecFieldMethodBoolean(this, "variablePadding", "mAnimationState", MiscUtil.resolveClass(DrawableContainer.class.getName() + "$DrawableContainerState"), "setVariablePadding", false));
// está arriba: addAttrDescAN(new AttrDescDrawable_Drawable_visible<AnimationDrawable>(this));
}
ClassDescAnimationDrawable.java 文件源码
java
阅读 14
收藏 0
点赞 0
评论 0
项目:itsnat_droid
作者:
评论列表
文章目录