<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout 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:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/drawerLayout" tools:context="com.example.com.cehua.MainActivity"> <RelativeLayout android:id="@+id/fr_content" android:layout_width="match_parent" android:layout_height="match_parent"> </RelativeLayout> <LinearLayout android:layout_width="200dp" android:layout_height="match_parent" android:id="@+id/li_menu" android:orientation="vertical" android:layout_gravity="start" android:background="#f89" > <ListView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/lv"></ListView> </LinearLayout> </android.support.v4.widget.DrawerLayout>
侧滑--布局--activity-main
最新推荐文章于 2020-04-25 16:05:31 发布