<?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"> <com.handmark.pulltorefresh.library.PullToRefreshScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/psv"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <android.support.v4.view.ViewPager android:layout_width="match_parent" android:layout_height="100dp" android:id="@+id/vp"> </android.support.v4.view.ViewPager> <com.example.com.moni3lx.MyListview android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/lv"></com.example.com.moni3lx.MyListview> </LinearLayout> </com.handmark.pulltorefresh.library.PullToRefreshScrollView> </RelativeLayout>
占位布局之fragment01的布局---PullToRefreshScrollView+viewpager+listview
最新推荐文章于 2021-05-25 14:56:36 发布
本文介绍了一个包含PullToRefreshScrollView、ViewPager及自定义ListView等组件的复杂UI布局方案,通过组合使用这些组件可以实现具备下拉刷新功能的滚动视图。

6662

被折叠的 条评论
为什么被折叠?



