<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="200dp"> <android.support.v4.view.ViewPager android:id="@+id/viewpager" android:layout_width="match_parent" android:layout_height="200dp"></android.support.v4.view.ViewPager> <LinearLayout android:layout_alignParentBottom="true" android:orientation="horizontal" android:gravity="center" android:id="@+id/ll_buttom" android:background="#999999" android:layout_width="match_parent" android:layout_height="40dp"></LinearLayout> </RelativeLayout>
自定义view的xml
最新推荐文章于 2024-01-01 16:39:19 发布