activity_record.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:layout_gravity="center"
  7. android:background="@color/black">
  8. <FrameLayout
  9. android:id="@+id/player_frame"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:layout_gravity="center">
  13. <com.edufound.reader.cusview.RvListJzvdStd
  14. android:id="@+id/activity_record_jzvideo"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"></com.edufound.reader.cusview.RvListJzvdStd>
  17. </FrameLayout>
  18. <FrameLayout
  19. android:layout_width="1280dp"
  20. android:layout_height="720dp"
  21. android:orientation="horizontal"
  22. app:layout_constraintBottom_toBottomOf="parent"
  23. app:layout_constraintDimensionRatio="h,16:9"
  24. app:layout_constraintEnd_toEndOf="parent"
  25. app:layout_constraintStart_toStartOf="parent"
  26. app:layout_constraintTop_toTopOf="parent">
  27. <ImageView
  28. android:id="@+id/activity_record_back"
  29. android:layout_width="77dp"
  30. android:layout_height="77dp"
  31. android:layout_marginLeft="32dp"
  32. android:layout_marginTop="20dp"
  33. android:src="@drawable/main_back"
  34. app:layout_constraintStart_toStartOf="parent"
  35. app:layout_constraintTop_toTopOf="parent"></ImageView>
  36. <LinearLayout
  37. android:layout_width="100dp"
  38. android:layout_height="121dp"
  39. android:layout_gravity="right|bottom"
  40. android:layout_marginRight="45dp"
  41. android:layout_marginBottom="220dp"
  42. android:gravity="center|right"
  43. android:orientation="vertical">
  44. <FrameLayout
  45. android:id="@+id/activity_record_demonstration"
  46. android:layout_width="70dp"
  47. android:layout_height="70dp">
  48. <ImageView
  49. android:layout_width="match_parent"
  50. android:layout_height="match_parent"
  51. android:layout_gravity="center"
  52. android:src="@drawable/to_record_bg"></ImageView>
  53. <ImageView
  54. android:id="@+id/activity_record_demonstration_icon"
  55. android:layout_width="match_parent"
  56. android:layout_height="match_parent"
  57. android:layout_gravity="center"
  58. android:padding="10dp"
  59. android:src="@drawable/activity_record_demonstration"></ImageView>
  60. </FrameLayout>
  61. <TextView
  62. android:layout_width="match_parent"
  63. android:layout_height="38dp"
  64. android:layout_gravity="center"
  65. android:gravity="center|right"
  66. android:maxLines="1"
  67. android:text="听示范"
  68. android:textColor="@color/white"
  69. android:textSize="25dp"></TextView>
  70. </LinearLayout>
  71. <LinearLayout
  72. android:layout_width="129dp"
  73. android:layout_height="wrap_content"
  74. android:layout_gravity="right|bottom"
  75. android:layout_marginRight="17dp"
  76. android:layout_marginBottom="15dp"
  77. android:gravity="center"
  78. android:orientation="vertical">
  79. <FrameLayout
  80. android:id="@+id/activity_record_controll"
  81. android:layout_width="129dp"
  82. android:layout_height="129dp">
  83. <ImageView
  84. android:layout_width="match_parent"
  85. android:layout_height="match_parent"
  86. android:layout_gravity="center"
  87. android:src="@drawable/to_record_bg"></ImageView>
  88. <ImageView
  89. android:layout_width="match_parent"
  90. android:layout_height="match_parent"
  91. android:layout_gravity="center"
  92. android:padding="10dp"
  93. android:src="@drawable/to_record_icon"></ImageView>
  94. <ImageView
  95. android:id="@+id/activity_record_mike_icon"
  96. android:layout_width="match_parent"
  97. android:layout_height="match_parent"
  98. android:layout_gravity="center"
  99. android:layout_margin="38dp"
  100. android:background="@drawable/to_record_icon_mike"></ImageView>
  101. </FrameLayout>
  102. <TextView
  103. android:id="@+id/activity_record_mike_status"
  104. android:layout_width="match_parent"
  105. android:layout_height="38dp"
  106. android:layout_gravity="center"
  107. android:gravity="center"
  108. android:text="开始朗读"
  109. android:textColor="@color/white"
  110. android:textSize="27dp"></TextView>
  111. </LinearLayout>
  112. </FrameLayout>
  113. </androidx.constraintlayout.widget.ConstraintLayout>