【转】android 图片自动切换
16lz
2021-12-04
图片自动切换
res/drawable/update.xml
res/layout/xx.xml
res/drawable/update.xml
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false"> <item android:drawable="@drawable/update_1" android:duration="200" /> <item android:drawable="@drawable/update_2" android:duration="200" /> <item android:drawable="@drawable/update_3" android:duration="200" /> <item android:drawable="@drawable/update_4" android:duration="200" /> <item android:drawable="@drawable/update_5" android:duration="200" /> <item android:drawable="@drawable/update_6" android:duration="200" /> <item android:drawable="@drawable/update_7" android:duration="200" /> </animation-list>
res/layout/xx.xml
<com.android.server.status.AnimatedImageView android:layout_marginTop="10dp" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:src="@drawable/update"/>
更多相关文章
- android图片切换ImageSwichter的动画切换效果
- android图片切换ImageSwichter的动画切换效果
- Android中TextView中加图片,超链接,部分字或者背景变色。。。不断
- android logo:内核、android开机动画
- Android图片堆叠效果实现
- Android系列之浅谈AndroidGallery控件使用方法详解
- Android(安卓)自带的图片资源调用
- 一张图片覆盖在另一个图片上
- 自定义Ratingbar,星星“流泪了”解决办法