activity_safety_training.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  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. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/white"
  8. android:orientation="vertical"
  9. tools:context="com.zhong.inspection.ui.SafetyTrainingActivity">
  10. <include
  11. android:id="@+id/tool_bar"
  12. layout="@layout/title_toolbar" />
  13. <com.google.android.material.tabs.TabLayout
  14. android:id="@+id/tab_view"
  15. android:layout_width="wrap_content"
  16. android:layout_height="50dp"
  17. android:layout_alignParentTop="true"
  18. app:tabIndicatorColor="@color/purple_fa"
  19. app:tabSelectedTextColor="@color/purple_fa"/>
  20. <com.zhong.inspection.widget.SwipeViewPager
  21. android:layout_marginTop="10dp"
  22. android:id="@+id/swipe_pager_view"
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent" />
  25. </LinearLayout>