college_dialog_view.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="540dp"
  10. android:layout_marginTop="0.5dp"
  11. android:background="@drawable/ic_bgm_college"
  12. android:orientation="vertical">
  13. <RelativeLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="45dp"
  16. android:paddingLeft="10dp"
  17. android:paddingRight="10dp">
  18. <TextView
  19. android:id="@+id/tv_cancel"
  20. android:layout_width="wrap_content"
  21. android:layout_height="match_parent"
  22. android:gravity="center"
  23. android:text="取消"
  24. android:textColor="@color/black"
  25. android:textSize="16sp" />
  26. <TextView
  27. android:id="@+id/tv_affirm"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_alignParentRight="true"
  31. android:layout_centerVertical="true"
  32. android:text="搜索"
  33. android:textColor="@color/purple_fa"
  34. android:textSize="16sp" />
  35. </RelativeLayout>
  36. <RelativeLayout
  37. android:id="@+id/rel_view"
  38. android:layout_width="match_parent"
  39. android:layout_height="35dp"
  40. android:layout_marginLeft="22dp"
  41. android:layout_marginRight="22dp"
  42. android:background="@drawable/ic_bgm_edit_user">
  43. <EditText
  44. android:id="@+id/ed_subject_name"
  45. android:layout_width="match_parent"
  46. android:layout_height="match_parent"
  47. android:layout_marginLeft="4dp"
  48. android:layout_marginRight="30dp"
  49. android:background="@null"
  50. android:gravity="start"
  51. android:hint="请输入实验室或房间号"
  52. android:padding="7dp"
  53. android:textColorHint="@color/black"
  54. android:textSize="14sp" />
  55. </RelativeLayout>
  56. <androidx.recyclerview.widget.RecyclerView
  57. android:id="@+id/rv_recycler_view"
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent" />
  60. </LinearLayout>
  61. </LinearLayout>