【技术博客文章】火山安卓组件之gif动画框
一、配置模块右键配置模块,勾选杂类窗口组件1和火山模块
https://www.lkuaiy.com/image/editor/15970157306638.png
https://www.lkuaiy.com/image/editor/15970157395135.png
二、布局
添加gif动画框
https://www.lkuaiy.com/image/editor/15970157496296.png
三、创建资产目录
①创建assets
在源码目录下新建个assets文件夹
并在目录下放gif图片
https://www.lkuaiy.com/image/editor/15970157629822.png
https://www.lkuaiy.com/image/editor/15970157692682.png
②设置assets
启动类下设置资产目录
https://www.lkuaiy.com/image/editor/15970157811453.png
四、加载显示
①创建
https://www.lkuaiy.com/image/editor/15970157945729.png
https://www.lkuaiy.com/image/editor/15970158043049.png
②加载
https://www.lkuaiy.com/image/editor/15970158192715.png
五、演示效果
https://www.lkuaiy.com/image/editor/15970158332327.gif
支持,必须支持 推广火山,义不容辞 推广火山义不容辞 推广火山,义不容辞 推广火山义不容辞 推广火山,义不容辞 推广火山义不容辞
页:
[1]