Advertisement
yuuna55

drawer_activity_main

Dec 23rd, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:ads="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent" >
  6.  
  7. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. xmlns:app="http://schemas.android.com/apk/res-auto"
  9. android:id="@+id/drawer"
  10. android:layout_width="match_parent"
  11. android:fitsSystemWindows="true"
  12. android:layout_height="match_parent"
  13. android:layout_alignParentBottom="true"
  14. android:layout_alignParentTop="true">
  15. <LinearLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:orientation="vertical">
  19.  
  20. <include
  21. android:id="@+id/tool_bar"
  22. layout="@layout/toolbar"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"/>
  25.  
  26. <FrameLayout
  27. android:id="@+id/container"
  28. android:layout_width="match_parent"
  29. android:clickable="true"
  30. android:layout_height="match_parent"/>
  31.  
  32. </LinearLayout>
  33. <!-- android:layout_marginTop="?android:attr/actionBarSize"-->
  34. <mahes.myapplication.kue.Fragment_ScrimInsetsFrameLayout
  35. android:id="@+id/scrimInsetsFrameLayout"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:fitsSystemWindows="true"
  39. android:layout_gravity="start"
  40. app:insetForeground="#4000"
  41. android:elevation="10dp">
  42. <fragment
  43. android:id="@+id/fragment_drawer"
  44. android:name="mahes.myapplication.kue.NavigationDrawerFragment"
  45. android:layout_width="@dimen/navigation_drawer_width"
  46. android:layout_height="match_parent"
  47. android:fitsSystemWindows="true"
  48. app:layout="@layout/fragment_navigation_drawer"
  49. tools:layout="@layout/fragment_navigation_drawer" />
  50. </mahes.myapplication.kue.Fragment_ScrimInsetsFrameLayout>
  51.  
  52.  
  53. </android.support.v4.widget.DrawerLayout>
  54.  
  55. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement