首页 > 移动平台 > 详细

android-pulltorefresh 下拉载入中使用gif动图

时间:2017-06-25 20:02:36      阅读:264      评论:0      收藏:0      [点我收藏+]

效果预览:

技术分享

xml布局

<com.handmark.pulltorefresh.library.PullToRefreshListView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:ptr="http://schemas.android.com/apk/res-auto"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:divider="#00000000"
    android:cacheColorHint="#00000000"
    android:listSelector="#00000000"
    android:fastScrollEnabled="true"
     ptr:ptrHeaderTextColor="@color/gray" 
     ptr:ptrAnimationStyle="louisAnimationStyle"
    />


lib底层配置

里面配置了自己定义的动画样式

技术分享


技术分享


技术分享


技术分享

技术分享


其它就照着这个库的正经常使使用方法使用即可


【地址已更新,CSDN吃链接】改动后的lib库下载:http://download.csdn.net/detail/richiezhu/9026211


gif图片分离器:http://download.csdn.net/detail/richiezhu/9026175



android-pulltorefresh 下拉载入中使用gif动图

原文:http://www.cnblogs.com/zhchoutai/p/7077630.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!