
app:srcCompat 去指向矢量图片资源(正如其他的drawable资源可以用 android:src 引用一样): 矢量图伴随动画 <animated-vector xmlns:android="http://schemas.android.com/apk/res/android" android:drawable="@drawable/square"> <target android:name="square" android:animation="@animator/anim_square_color"/> </animated-vector> 图像布局:<vector...> <path /> </vector>动画布局:<set...> <objectAnimator /> <set/> 
newInstance 只能调用无参构造函数new 能调用任何public构造新闻热点
疑难解答