activity_class_ending.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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:id="@+id/rootView"
  8. android:background="@color/purple_f5"
  9. tools:context="com.zhong.inspection.ui.ClassEndingActivity">
  10. <include
  11. android:id="@+id/tool_bar"
  12. layout="@layout/title_toolbar" />
  13. <ScrollView
  14. android:id="@+id/scrollView"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:layout_below="@+id/tool_bar">
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:background="@color/white"
  22. android:orientation="vertical"
  23. android:paddingLeft="10dp"
  24. android:paddingTop="10dp"
  25. android:paddingRight="10dp">
  26. <TextView
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:text="上课照片"
  30. android:textColor="@color/black" />
  31. <androidx.recyclerview.widget.RecyclerView
  32. android:id="@+id/rv_recycler_view"
  33. android:layout_width="match_parent"
  34. android:layout_height="wrap_content" />
  35. <TextView
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_marginTop="8dp"
  39. android:text="课程总结"
  40. android:textColor="@color/black" />
  41. <EditText
  42. android:id="@+id/ed_course_sm"
  43. android:layout_width="match_parent"
  44. android:layout_height="70dp"
  45. android:layout_marginTop="10dp"
  46. android:background="@null"
  47. android:ellipsize="end"
  48. android:focusable="true"
  49. android:textSize="14sp"
  50. android:padding="2dp"
  51. android:focusableInTouchMode="true"
  52. android:gravity="start"
  53. android:maxLength="50" />
  54. </LinearLayout>
  55. </ScrollView>
  56. <LinearLayout
  57. android:layout_width="match_parent"
  58. android:layout_height="50dp"
  59. android:layout_alignParentBottom="true">
  60. <Button
  61. android:id="@+id/but_cancel"
  62. android:layout_width="wrap_content"
  63. android:layout_height="match_parent"
  64. android:layout_weight="1"
  65. android:text="取 消" />
  66. <Button
  67. android:id="@+id/but_affirm"
  68. android:layout_width="wrap_content"
  69. android:layout_height="match_parent"
  70. android:layout_weight="1"
  71. android:text="确 定" />
  72. </LinearLayout>
  73. </RelativeLayout>