PullToRefreshListView的xml布局
来源:互联网 发布:服装电脑排版软件 编辑:程序博客网 时间:2024/05/22 01:55
<!--中多了几个属性 分别以ptr开头,这是指定pullToRefreshListView在刷新的时候出现的特效,
比如ptrDrawable第一个是指定刷新时显示的图片,ptrAnimationStyle第二个是指定刷新的图片以何种方式显示出来,
ptrHeaderBackground第三个是指定刷新时头部的背景,ptrHeaderTextColor第四个是指定刷新时头部字体的颜色。-->
<com.handmark.pulltorefresh.library.PullToRefreshListView
xmlns:ptr="http://schemas.android.com/apk/res-auto"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:id="@+id/refresh_list_view"
ptr:ptrDrawable="@drawable/default_ptr_flip"
ptr:ptrAnimationStyle="flip"
ptr:ptrHeaderBackground="#383838"
ptr:ptrHeaderTextColor="#FFFFFF" >
</com.handmark.pulltorefresh.library.PullToRefreshListView>
比如ptrDrawable第一个是指定刷新时显示的图片,ptrAnimationStyle第二个是指定刷新的图片以何种方式显示出来,
ptrHeaderBackground第三个是指定刷新时头部的背景,ptrHeaderTextColor第四个是指定刷新时头部字体的颜色。-->
<com.handmark.pulltorefresh.library.PullToRefreshListView
xmlns:ptr="http://schemas.android.com/apk/res-auto"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:id="@+id/refresh_list_view"
ptr:ptrDrawable="@drawable/default_ptr_flip"
ptr:ptrAnimationStyle="flip"
ptr:ptrHeaderBackground="#383838"
ptr:ptrHeaderTextColor="#FFFFFF" >
</com.handmark.pulltorefresh.library.PullToRefreshListView>
阅读全文
0 0
- PullToRefreshListView的xml布局
- PullToRefreshListView的布局文件
- PullToRefreshListView的添加Banner头布局
- 抽屉布局+PullToRefreshListView展示
- PullToRefreshListView绘制头布局
- PullToRefreshListView xml 写法
- xml中引用PullToRefreshListView
- PullToRefreshListView滑动布局隐藏问题
- pulltorefreshlistview 和xlistview 中的获取item控件布局时出现的类转换异常的问题:
- PullToRefreshListView添加含有listview的头部底部布局的各种问题
- PullToRefreshListView 的使用
- PullToRefreshListView碰到的问题
- PullToRefreshListView的简单使用
- PullToRefreshListView的Position问题
- Android--PullToRefreshListView的使用
- PullToRefreshListView的漏洞
- PullToRefreshListView的使用
- PullToRefreshListView的使用
- curl perl python get 发送json数据
- 二进制基础-java
- HTML route点击不同按钮,显示不同内容,可以改变按钮背景颜色
- 发布前必须排查的Web安全
- Angular4中使用RxJS Observable的scan运算符 Operator '+' cannot be applied to types '{}'异常
- PullToRefreshListView的xml布局
- push 转场动画
- loj #6003. 「网络流 24 题」魔术球(二分匹配 优化建图)
- JAVA内部类使用小结
- OKHttp使用详解,步骤挺详细的,适合初学者使用!
- JAVA-EntrySet备忘录
- 创建与使用DLL项目常见错误和解决办法
- Field的getModifiers()方法返回int类型值表示该字段的修饰符
- 使用Merge存储引擎实现 mysql分表