电子屏项目
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.
 
 
 
 

89 line
3.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="380dp"
  5. android:layout_height="wrap_content"
  6. android:orientation="vertical"
  7. android:clickable="true"
  8. android:padding="10dp">
  9. <androidx.appcompat.widget.LinearLayoutCompat
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:gravity="center_vertical"
  13. android:orientation="horizontal"
  14. android:background="@drawable/shape_leave_item"
  15. android:padding="1dp">
  16. <FrameLayout
  17. android:layout_height="match_parent"
  18. android:layout_width="wrap_content"
  19. android:text="人脸">
  20. <ImageView
  21. android:id="@+id/faceImg"
  22. android:layout_width="132dp"
  23. android:layout_height="151dp"
  24. app:qmui_border_color="@color/white"
  25. app:qmui_radius="0dp"/>
  26. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
  27. android:id="@+id/faceEmpty"
  28. android:layout_width="132dp"
  29. android:layout_height="151dp"
  30. android:paddingTop="@dimen/d_5"
  31. android:paddingBottom="@dimen/d_5"
  32. android:text="未设置"
  33. android:textColor="@color/white"
  34. app:qmui_backgroundColor="#ccc"
  35. app:qmui_borderColor="#ccc"
  36. app:qmui_radius="1px" />
  37. </FrameLayout>
  38. <androidx.appcompat.widget.LinearLayoutCompat
  39. android:layout_width="wrap_content"
  40. android:layout_height="match_parent"
  41. android:layout_weight="1"
  42. android:layout_marginLeft="20dp"
  43. android:orientation="vertical"
  44. android:paddingBottom="@dimen/d_10"
  45. android:paddingTop="10dp">
  46. <TextView
  47. android:id="@+id/studentName"
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:textStyle="bold"
  51. android:textSize="20dp"
  52. android:includeFontPadding="false"
  53. android:text="李晓晓"/>
  54. <TextView
  55. android:id="@+id/className"
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:textSize="16dp"
  59. android:layout_marginTop="@dimen/d_10"
  60. android:text="高中三年级一班"/>
  61. <TextView
  62. android:id="@+id/applyTime"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:textSize="16dp"
  66. android:text="2024-1-4 15:57"/>
  67. <View
  68. android:layout_width="match_parent"
  69. android:layout_height="0dp"
  70. android:layout_weight="1"/>
  71. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
  72. android:id="@+id/statusName"
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:paddingHorizontal="@dimen/d_20"
  76. android:paddingVertical="@dimen/d_6"
  77. android:textColor="#fff"
  78. app:qmui_backgroundColor="#ff4040"
  79. android:text="已确认"
  80. app:qmui_radius="@dimen/d_20" />
  81. </androidx.appcompat.widget.LinearLayoutCompat>
  82. </androidx.appcompat.widget.LinearLayoutCompat>
  83. </LinearLayout>