安卓_XListVicw加载更多和无限轮播点_2
来源:互联网 发布:淘宝上怎么买流量 编辑:程序博客网 时间:2024/04/30 14:22
1、vp_item.xml
///////////
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.view.ViewPager
android:id="@+id/vp"
android:layout_width="match_parent"
android:layout_height="200dp">
</android.support.v4.view.ViewPager>
<LinearLayout
android:id="@+id/ll"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:orientation="horizontal">
</LinearLayout>
</RelativeLayout>
2、xlv_item.xml
///////////////////
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ImageView
android:id="@+id/xlv_iv"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/xlv_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
3、/////////
main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#f0f0f0"
android:orientation="vertical">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<me.maxwin.view.XListView
android:id="@+id/xListView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:cacheColorHint="#00000000">
</me.maxwin.view.XListView>
</LinearLayout>
4、activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.sujichun.user.XListView
android:id="@+id/xlv"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</LinearLayout>
strings.xml***
、、、、
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, XListViewActivity!</string>
<string name="app_name">XListView</string>
<string name="xlistview_header_hint_normal">下拉刷新</string>
<string name="xlistview_header_hint_ready">松开刷新数据</string>
<string name="xlistview_header_hint_loading">正在加载...</string>
<string name="xlistview_header_last_time">上次更新时间:</string>
<string name="xlistview_footer_hint_normal">查看更多</string>
<string name="xlistview_footer_hint_ready">松开载入更多</string>
</resources>
////////////////////
dot_focus.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="8dp"></corners>
<solid android:color="#f00"></solid>
</shape>
-------------
dot_normal.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="8dp"></corners>
<solid android:color="#00ff00"></solid>
</shape>
- 安卓_XListVicw加载更多和无限轮播点_2
- 安卓_XListVicw加载更多和无限轮播点
- jquery 上划加载更多,无限加载
- 安卓基础_2
- 安卓下拉刷新上拉加载更多的listview
- 安卓一个有限/无限加载动画效果
- 刷新和加载更多
- win8 metro 无限滚动加载数据,实现“更多”功能
- “无限加载更多”带来的移动端性能瓶颈
- Android无限滚动库mugen实现加载更多效果
- 加载地址和运行地址_2
- 下拉刷新和加载更多
- 安卓自定义view学习_2
- 安卓,采用最简单易懂的方式实现上拉刷新下拉加载更多
- 安卓,采用最简单易懂的方式实现上拉刷新下拉加载更多
- 安卓自带刷新SwipeRefreshLayout 上拉加载更多 自动刷新
- 安卓支持下拉刷新,上拉加载更多的ListView
- react native listview上拉加载更多下拉刷新兼容ios 安卓
- 《Spring 5 官方文档》20. CORS 支持
- Android editText 设置digits 失效的原因
- Dubbo RpcResult 提供者返回消费者数据
- 深度学习在目标跟踪中的应用
- html表格、表单元素、img标签、图像映射技术、html4引入flash
- 安卓_XListVicw加载更多和无限轮播点_2
- http连接(二)
- iOS开发技巧之:SourceTree 添加 ssh key 方法
- 关于js引入的先后顺序的小问题
- Python多线程--(2)之threading模块
- Service生成的reference类型为数组不是List
- EXCEL打印表格时如何添加带有公司名称的水印
- http://blog.csdn.net/flower_vip/article/details/53034380
- Ajax和Flash的比较与取舍