PullToRefresh ScrollView的Listview和轮播图布局
来源:互联网 发布:mysql索引失效 in or 编辑:程序博客网 时间:2024/03/28 16:44
<!--中多了几个属性 分别以ptr开头,这是指定pullToRefreshListView在刷新的时候出现的特效,
比如ptrDrawable第一个是指定刷新时显示的图片,ptrAnimationStyle第二个是指定刷新的图片以何种方式显示出来,
ptrHeaderBackground第三个是指定刷新时头部的背景,ptrHeaderTextColor第四个是指定刷新时头部字体的颜色。-->
<com.handmark.pulltorefresh.library.PullToRefreshScrollView
xmlns:ptr="http://schemas.android.com/apk/res-auto"
android:id="@+id/refresh_scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
ptr:ptrAnimationStyle="flip"
ptr:ptrDrawable="@drawable/default_ptr_flip"
ptr:ptrHeaderBackground="#383838"
ptr:ptrHeaderTextColor="#FFFFFF">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v4.view.ViewPager
android:id="@+id/image_view_pager"
android:layout_width="match_parent"
android:layout_height="200dp">
</android.support.v4.view.ViewPager>
<news1510a.bawei.com.a16_pulltorefresh_demo.view.MyListView
android:id="@+id/scroll_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
</news1510a.bawei.com.a16_pulltorefresh_demo.view.MyListView>
</LinearLayout>
</com.handmark.pulltorefresh.library.PullToRefreshScrollView>
比如ptrDrawable第一个是指定刷新时显示的图片,ptrAnimationStyle第二个是指定刷新的图片以何种方式显示出来,
ptrHeaderBackground第三个是指定刷新时头部的背景,ptrHeaderTextColor第四个是指定刷新时头部字体的颜色。-->
<com.handmark.pulltorefresh.library.PullToRefreshScrollView
xmlns:ptr="http://schemas.android.com/apk/res-auto"
android:id="@+id/refresh_scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
ptr:ptrAnimationStyle="flip"
ptr:ptrDrawable="@drawable/default_ptr_flip"
ptr:ptrHeaderBackground="#383838"
ptr:ptrHeaderTextColor="#FFFFFF">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v4.view.ViewPager
android:id="@+id/image_view_pager"
android:layout_width="match_parent"
android:layout_height="200dp">
</android.support.v4.view.ViewPager>
<news1510a.bawei.com.a16_pulltorefresh_demo.view.MyListView
android:id="@+id/scroll_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
</news1510a.bawei.com.a16_pulltorefresh_demo.view.MyListView>
</LinearLayout>
</com.handmark.pulltorefresh.library.PullToRefreshScrollView>
阅读全文
0 0
- PullToRefresh ScrollView的Listview和轮播图布局
- PullToRefresh ScrollView的Listview和轮播图Fragment布局
- PullToRefresh ScrollView的Listview和轮播图ViewPagerAdapter的配置
- PullToRefresh ScrollView的Listview和轮播图组合Mylistview适配
- PullToRefresh ScrollView的GridView和轮播图组合xml布局
- pulltorefresh【listview GridView ScrollView】
- PullToRefresh ScrollView的GridView和轮播图组合Fragment中代码
- PullToRefresh ScrollView的GridView和轮播图组合Mylistview中代码
- PullToRefresh ScrollView的GridView和轮播图组合Adapter中代码
- 使ListView和其他的布局一起滑动(给ListView加ScrollView)
- scrollview和listview的区别
- ScrollView和ListView的嵌套
- ScrollView和ListView的故事
- scrollview和listview的冲突
- PullToRefresh 支持刷新ListView丶GridView丶ScrollView和二级列表
- Pulltorefresh的布局
- pulltorefresh 的布局
- 支持listview、GridView、普通布局、scrollview和viewpager的下拉刷新控件
- 写一个程序,既能作为Application执行也可以作为Applet程序执行。
- 获取本机的IP地址和Mac地址
- linux使用php动态安装模块mysqli.so(ext/mysqlnd/mysqlnd.h: 没有那个文件或目录)
- 数据结构与算法(Java描述)-5、循环链表仿真链表以及循环链表应用
- 【20171020】常用经典算法介绍
- PullToRefresh ScrollView的Listview和轮播图布局
- 博客搬迁
- 2017.10.20 LeetCode Two Pointers 26. 27.
- 快速排序
- 给定填充0和1的二维二进制矩阵,找到包含所有的最大矩形并返回其区域。
- mysql授权表
- sql内链接,左连接,右链接和多表笛卡儿积
- PullToRefresh ScrollView的Listview和轮播图Fragment布局
- python高阶函数调用