activity_defect_treatment.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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/purple_f5"
  8. android:orientation="vertical"
  9. tools:context="com.zhong.inspection.ui.DefectTreatmentActivity">
  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="match_parent"
  16. android:layout_height="50dp"
  17. android:background="@color/white"
  18. app:tabIndicatorColor="@color/purple_fa"
  19. app:tabMinWidth="0dp"
  20. app:tabMode="auto"
  21. app:tabSelectedTextColor="@color/purple_fa" />
  22. <com.zhong.inspection.widget.SwipeViewPager
  23. android:id="@+id/swipe_pager_view"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. android:layout_marginTop="10dp" />
  27. </LinearLayout>