首页 > 移动平台 > 详细

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

时间:2015-07-12 23:21:11      阅读:1069      评论: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" 
     <span style="color:#ff0000;">ptr:ptrAnimationStyle="louisAnimationStyle"</span>
    />


lib底层配置

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

技术分享


技术分享


技术分享


技术分享

技术分享


其他就照着这个库的正常用法使用就行


修改后的lib库下载:



版权声明:本文为【LouisGeek】原创文章,转载请注明出处!

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

原文:http://blog.csdn.net/richiezhu/article/details/46854247

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