fragment_live_course_layout.xml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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. <TextView
  8. android:id="@+id/tv_time"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:layout_marginStart="25dp"
  12. android:drawableRight="@drawable/icon_arrow_down"
  13. android:drawablePadding="6dp"
  14. android:gravity="center"
  15. android:includeFontPadding="false"
  16. android:paddingTop="18dp"
  17. android:paddingBottom="12dp"
  18. android:textColor="@color/color_666666"
  19. android:textSize="@dimen/sp_13"
  20. app:layout_constraintHorizontal_chainStyle="spread_inside"
  21. app:layout_constraintLeft_toLeftOf="parent"
  22. app:layout_constraintRight_toLeftOf="@+id/tv_course_status"
  23. app:layout_constraintTop_toTopOf="parent"
  24. tools:text="2021年9月" />
  25. <TextView
  26. android:id="@+id/tv_course_status"
  27. android:layout_width="wrap_content"
  28. android:layout_height="0dp"
  29. android:drawableRight="@drawable/icon_arrow_down"
  30. android:drawablePadding="6dp"
  31. android:paddingTop="18dp"
  32. android:paddingBottom="12dp"
  33. android:gravity="center"
  34. android:includeFontPadding="false"
  35. android:textColor="@color/color_666666"
  36. android:textSize="@dimen/sp_13"
  37. android:text="课程状态"
  38. app:layout_constraintBottom_toBottomOf="@+id/tv_time"
  39. app:layout_constraintLeft_toRightOf="@+id/tv_time"
  40. app:layout_constraintRight_toLeftOf="@+id/tv_agency"
  41. app:layout_constraintTop_toTopOf="@+id/tv_time"
  42. tools:text="课程状态" />
  43. <TextView
  44. android:id="@+id/tv_agency"
  45. android:layout_width="wrap_content"
  46. android:layout_height="0dp"
  47. android:layout_marginEnd="23dp"
  48. android:drawableRight="@drawable/icon_arrow_down"
  49. android:drawablePadding="6dp"
  50. android:paddingTop="18dp"
  51. android:paddingBottom="12dp"
  52. android:gravity="center"
  53. android:includeFontPadding="false"
  54. android:textColor="@color/color_666666"
  55. android:textSize="@dimen/sp_13"
  56. android:text="全部声部"
  57. app:layout_constraintBottom_toBottomOf="@+id/tv_time"
  58. app:layout_constraintLeft_toRightOf="@+id/tv_course_status"
  59. app:layout_constraintRight_toRightOf="parent"
  60. app:layout_constraintTop_toTopOf="@+id/tv_time"
  61. tools:text="课程状态" />
  62. <com.scwang.smart.refresh.layout.SmartRefreshLayout
  63. android:id="@+id/refreshLayout"
  64. android:layout_width="match_parent"
  65. android:layout_height="0dp"
  66. app:layout_constraintBottom_toBottomOf="parent"
  67. app:layout_constraintLeft_toLeftOf="parent"
  68. app:layout_constraintRight_toRightOf="parent"
  69. app:layout_constraintTop_toBottomOf="@+id/tv_time">
  70. <com.scwang.smart.refresh.header.ClassicsHeader
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content" />
  73. <androidx.recyclerview.widget.RecyclerView
  74. android:id="@+id/recyclerView"
  75. android:layout_width="match_parent"
  76. android:layout_height="match_parent"
  77. android:overScrollMode="never"
  78. android:scrollbars="none" />
  79. </com.scwang.smart.refresh.layout.SmartRefreshLayout>
  80. </androidx.constraintlayout.widget.ConstraintLayout>