react-native-navigation的迁移库

bottom_tab_activity.xml 1.2KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:orientation="vertical"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".activities.TabActivity">
  9. <android.support.design.widget.AppBarLayout
  10. android:id="@+id/appbar"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:fitsSystemWindows="true">
  14. <com.reactnativenavigation.views.RnnToolBar
  15. android:id="@+id/toolbar"
  16. android:layout_width="match_parent"
  17. android:layout_height="?attr/actionBarSize"
  18. app:layout_scrollFlags="scroll|enterAlways"/>
  19. </android.support.design.widget.AppBarLayout>
  20. <FrameLayout
  21. android:id="@+id/contentFrame"
  22. android:layout_width="match_parent"
  23. android:layout_height="0dp"
  24. android:layout_weight="1"/>
  25. <com.aurelhubert.ahbottomnavigation.AHBottomNavigation
  26. android:id="@+id/bottom_tab_bar"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"/>
  29. </LinearLayout>