<com.handmark.pulltorefresh.library.PullToRefreshScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/pull" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.example.dell.jingdong_xiangmu.MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" > <com.youth.banner.Banner android:layout_width="match_parent" android:layout_height="300px" android:id="@+id/banner" ></com.youth.banner.Banner> <ImageView android:layout_width="match_parent" android:layout_height="200px" android:background="@drawable/a" /> <android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/rlv" ></android.support.v7.widget.RecyclerView> <ImageView android:layout_width="match_parent" android:layout_height="100px" android:background="@drawable/w" /> <android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/rlv2" ></android.support.v7.widget.RecyclerView> <ImageView android:layout_width="match_parent" android:layout_height="100px" android:background="@drawable/v" /> <android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/rlv3" ></android.support.v7.widget.RecyclerView> </LinearLayout> </LinearLayout> </com.handmark.pulltorefresh.library.PullToRefreshScrollView>
MainActivity的布局
最新推荐文章于 2023-08-22 07:00:00 发布