dialog_list_choice.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="wrap_content"
  5. android:gravity="center_horizontal"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:id="@+id/pop_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_alignParentStart="true"
  12. android:layout_alignParentLeft="true"
  13. android:layout_alignParentBottom="true"
  14. android:background="@color/white"
  15. android:gravity="center_horizontal"
  16. android:orientation="vertical">
  17. <RelativeLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="55dp">
  20. <TextView
  21. android:id="@+id/title"
  22. android:layout_width="match_parent"
  23. android:layout_height="55dp"
  24. android:background="@color/white"
  25. android:gravity="center"
  26. android:paddingLeft="10dp"
  27. android:text="请选择"
  28. android:textColor="#a6a6a6"
  29. android:textSize="15sp"/>
  30. <TextView
  31. android:id="@+id/chooseSpace"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_alignParentRight="true"
  35. android:layout_centerVertical="true"
  36. android:layout_marginRight="16dp"
  37. android:background="@drawable/bg_gray_f2f3f6"
  38. android:paddingLeft="6dp"
  39. android:paddingTop="5dp"
  40. android:paddingRight="6dp"
  41. android:paddingBottom="5dp"
  42. android:text="平面图选择"
  43. android:textColor="#272727"
  44. android:visibility="gone"/>
  45. </RelativeLayout>
  46. <Button
  47. android:id="@+id/btn1"
  48. style="?android:attr/borderlessButtonStyle"
  49. android:layout_width="match_parent"
  50. android:layout_height="55dp"
  51. android:layout_marginLeft="16dp"
  52. android:layout_marginRight="16dp"
  53. android:background="#ffffff"
  54. android:gravity="center"
  55. android:text="确定"
  56. android:textColor="#272727"
  57. android:textSize="16sp"/>
  58. <androidx.recyclerview.widget.RecyclerView
  59. android:id="@+id/recyclerview"
  60. android:layout_width="match_parent"
  61. android:layout_height="0dp"
  62. android:background="#ffffff"
  63. android:overScrollMode="never"
  64. android:scrollbars="vertical"/>
  65. <Button
  66. android:id="@+id/btn_cancel"
  67. style="?android:attr/borderlessButtonStyle"
  68. android:layout_width="match_parent"
  69. android:layout_height="55dp"
  70. android:gravity="center"
  71. android:text="取消"
  72. android:textColor="#272727"
  73. android:textSize="16sp"
  74. android:visibility="gone"/>
  75. </LinearLayout>
  76. </RelativeLayout>