学考乐离线App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fragment_statistics_time_top.xml 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools">
  5. <data>
  6. </data>
  7. <androidx.constraintlayout.widget.ConstraintLayout
  8. android:id="@+id/layout_time"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:background="@drawable/shape_rounder_12_white"
  12. android:padding="12dp">
  13. <com.google.android.material.tabs.TabLayout
  14. android:id="@+id/tab_layout_time"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. app:layout_constraintTop_toTopOf="parent"
  18. android:background="@drawable/shape_rounder_4_theme_a5"
  19. app:tabIndicatorHeight="0dp"
  20. app:tabGravity="fill"
  21. app:tabMode="fixed"
  22. app:tabRippleColor="@color/translation"
  23. app:tabTextColor="@color/gray_2"
  24. app:tabSelectedTextColor="@color/white"
  25. app:tabBackground="@drawable/select_statictis_time_tab_bg">
  26. <!-- <com.google.android.material.tabs.TabItem-->
  27. <!-- android:layout_width="wrap_content"-->
  28. <!-- android:layout_height="wrap_content"-->
  29. <!-- android:text="全部时间" />-->
  30. <!-- <com.google.android.material.tabs.TabItem-->
  31. <!-- android:layout_width="wrap_content"-->
  32. <!-- android:layout_height="wrap_content"-->
  33. <!-- android:text="今天"/>-->
  34. <!-- <com.google.android.material.tabs.TabItem-->
  35. <!-- android:layout_width="wrap_content"-->
  36. <!-- android:layout_height="wrap_content"-->
  37. <!-- android:text="本周"/>-->
  38. <!-- <com.google.android.material.tabs.TabItem-->
  39. <!-- android:layout_width="wrap_content"-->
  40. <!-- android:layout_height="wrap_content"-->
  41. <!-- android:text="本月"/>-->
  42. </com.google.android.material.tabs.TabLayout>
  43. <androidx.recyclerview.widget.RecyclerView
  44. android:id="@+id/rv_time"
  45. android:layout_width="0dp"
  46. android:layout_height="0dp"
  47. app:layout_constraintTop_toBottomOf="@+id/tab_layout_time"
  48. app:layout_constraintStart_toStartOf="parent"
  49. app:layout_constraintEnd_toEndOf="parent"
  50. app:layout_constraintBottom_toBottomOf="parent"
  51. android:paddingEnd="12dp" />
  52. </androidx.constraintlayout.widget.ConstraintLayout>
  53. </layout>