学考乐离线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_course_lesson.xml 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout 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. <data>
  6. </data>
  7. <androidx.constraintlayout.widget.ConstraintLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. tools:context=".module.m_center_learn.coursechildren.CourseLessonFragment">
  11. <!-- LinearLayout 仅在口语课程时显示-->
  12. <LinearLayout
  13. android:id="@+id/spoken_top_layout"
  14. android:layout_width="0dp"
  15. android:layout_height="wrap_content"
  16. android:background="@color/gray_3"
  17. android:orientation="horizontal"
  18. android:visibility="gone"
  19. app:layout_constraintEnd_toEndOf="parent"
  20. app:layout_constraintStart_toStartOf="parent"
  21. app:layout_constraintTop_toTopOf="parent"
  22. tools:visibility="visible">
  23. <TextView
  24. android:id="@+id/tv_auto_dialogue"
  25. android:layout_width="0dp"
  26. android:layout_height="match_parent"
  27. android:layout_weight="1"
  28. android:gravity="center"
  29. android:paddingTop="8dp"
  30. android:paddingBottom="8dp"
  31. android:text="@string/english_spoken_pattern_auto_play"
  32. android:textColor="@color/selectpress_maintextcolor_to_themcolor"
  33. android:textSize="@dimen/normalSize" />
  34. <TextView
  35. android:id="@+id/tv_follow_dialogue"
  36. android:layout_width="0dp"
  37. android:layout_height="match_parent"
  38. android:layout_weight="1"
  39. android:gravity="center"
  40. android:paddingTop="8dp"
  41. android:paddingBottom="8dp"
  42. android:text="@string/english_spoken_pattern_follow"
  43. android:textColor="@color/selectpress_maintextcolor_to_themcolor"
  44. android:textSize="@dimen/normalSize" />
  45. </LinearLayout>
  46. <androidx.recyclerview.widget.RecyclerView
  47. android:id="@+id/recyclerView"
  48. android:layout_width="0dp"
  49. android:layout_height="0dp"
  50. android:overScrollMode="never"
  51. android:scrollbars="none"
  52. app:layout_constraintBottom_toBottomOf="parent"
  53. app:layout_constraintEnd_toEndOf="parent"
  54. app:layout_constraintStart_toStartOf="parent"
  55. app:layout_constraintTop_toBottomOf="@+id/spoken_top_layout" />
  56. </androidx.constraintlayout.widget.ConstraintLayout>
  57. </layout>