activity_space_detail.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/root"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/white_ffffff">
  8. <androidx.appcompat.widget.LinearLayoutCompat
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:orientation="vertical"
  12. android:paddingBottom="20dp">
  13. <RelativeLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="48dp"
  16. android:background="@color/white_ffffff">
  17. <ImageView
  18. android:layout_width="wrap_content"
  19. android:layout_height="match_parent"
  20. android:layout_marginLeft="16dp"
  21. android:src="@drawable/ic_round_arrow_back_24" />
  22. <TextView
  23. android:layout_width="wrap_content"
  24. android:layout_height="match_parent"
  25. android:layout_centerInParent="true"
  26. android:gravity="center"
  27. android:text="空间详情"
  28. android:textColor="@color/black_272727"
  29. android:textSize="20sp" />
  30. </RelativeLayout>
  31. <com.sybotan.android.demo.view.ListItemView
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. app:LeftText="物业分区"
  35. app:Type="4" />
  36. <com.sybotan.android.demo.view.ListItemView
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. app:LeftText="静态属性信息"
  40. app:Type="4" />
  41. <com.sybotan.android.demo.view.ListItemView
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. app:LeftText="空间功能类型"
  45. app:Type="0" />
  46. <include layout="@layout/static_info" />
  47. <com.sybotan.android.demo.view.ListItemView
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. app:LeftText="对象关系"
  51. app:Type="4" />
  52. <ExpandableListView
  53. android:id="@+id/expandLvRelation"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content" />
  56. <TextView
  57. android:id="@+id/btnSubmit"
  58. android:layout_width="match_parent"
  59. android:layout_height="40dp"
  60. android:layout_gravity="center"
  61. android:layout_marginLeft="16dp"
  62. android:layout_marginTop="20dp"
  63. android:layout_marginRight="16dp"
  64. android:background="@drawable/shape_rectangle_green_3"
  65. android:gravity="center"
  66. android:text="提交"
  67. android:textColor="@color/white_ffffff"
  68. android:textSize="17dp" />
  69. </androidx.appcompat.widget.LinearLayoutCompat>
  70. </androidx.core.widget.NestedScrollView>