<?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" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent"> <RelativeLayout android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:background="?attr/appbg"> <android.support.v7.widget.Toolbar android:id="@+id/home_activity_toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="?attr/colorPrimary" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" /> <!--<View--> <!--android:id="@+id/home_shadow"--> <!--android:layout_width="match_parent"--> <!--android:layout_height="3dp"--> <!--android:layout_below="@id/home_activity_toolbar"--> <!--android:background="@drawable/shadow_view">--> <!--</View>--> <LinearLayout android:id="@+id/fix_list_ll" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/home_activity_toolbar" android:orientation="vertical"> <LinearLayout android:id="@+id/home_local_music_ll" android:layout_width="match_parent" android:layout_height="50dp" android:background="@drawable/selector_layout" android:gravity="center_vertical" android:orientation="horizontal"> <ImageView android:id="@+id/home_local_music_iv" android:layout_width="25dp" android:layout_height="match_parent" android:layout_gravity="center_vertical" android:layout_margin="10dp" android:src="@drawable/phone" /> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <RelativeLayout android:layout_width="match_parent" android:layout_height="49.5dp" android:orientation="horizontal"> <TextView android:id="@+id/home_local_music_tv" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignParentLeft="true" android:gravity="center_vertical" android:text="本地音乐" /> <TextView android:id="@+id/home_local_music_count_tv" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignParentRight="true" android:layout_marginRight="30dp" android:gravity="center_vertical" android:textColor="@color/grey500" android:textSize="12sp" /> <ImageView android:layout_width="10dp" android:layout_height="match_parent" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_gravity="center_vertical" android:layout_marginRight="16dp" android:src="@drawable/arrow_right" /> </RelativeLayout> <View android:layout_width="match_parent" android:layout_height="0.5dp" android:background="@color/colorDividerGray"></View> </LinearLayout> </LinearLayout> </LinearLayout> <View android:id="@+id/home_devider_view" android:layout_width="match_parent" android:layout_height="15dp" android:layout_below="@id/fix_list_ll" android:background="?attr/divider"></View> <FrameLayout android:id="@+id/fragment_playbar" android:layout_width="match_parent" android:layout_height="52dp" android:layout_alignParentBottom="true" /> </RelativeLayout> <android.support.design.widget.NavigationView android:id="@+id/nav_view" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="start" app:headerLayout="@layout/nav_header" app:menu="@menu/nav_menu" /> </android.support.v4.widget.DrawerLayout>
05-23
3202
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交