android 图片自动切换
16lz
2021-01-23
图片自动切换
res/drawable/update.xml
res/layout/xx.xml
res/drawable/update.xml
<animation-listxmlns: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 图片自动切换
- android 背景图片
- android图片切换ImageSwichter的动画切换效果
- Android中TextView中加图片,超链接,部分字或者背景变色。。。不断
- 分享用.Net Core实现图片上传下载的实例教程
- C#给图片增加文字实例代码
- asp.net MVC 网站图片怎么实现防盗链?
- 怎么在EXECL文件中同时导入数据和插入图片?
- C#中如何实现ftp图片上传功能的图文代码分享(必看)