react-native-navigation的迁移库

single_screen_activity.xml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7. <android.support.design.widget.AppBarLayout
  8. android:id="@+id/appbar"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:fitsSystemWindows="true">
  12. <com.reactnativenavigation.views.RnnToolBar
  13. android:id="@+id/toolbar"
  14. android:layout_width="match_parent"
  15. android:layout_height="?attr/actionBarSize"
  16. app:layout_scrollFlags="scroll|enterAlways" />
  17. </android.support.design.widget.AppBarLayout>
  18. <android.support.v4.widget.DrawerLayout
  19. android:id="@+id/drawerLayout"
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent">
  22. <android.support.design.widget.CoordinatorLayout
  23. android:id="@+id/contentFrame"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent" />
  26. <FrameLayout
  27. android:id="@+id/drawerFrame"
  28. android:layout_width="wrap_content"
  29. android:layout_height="match_parent"
  30. android:layout_gravity="start" />
  31. </android.support.v4.widget.DrawerLayout>
  32. </LinearLayout>