activity_scene.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".activities.poc.SpaceActivity">
  9. <androidx.constraintlayout.widget.ConstraintLayout
  10. android:id="@+id/topBarTv"
  11. android:layout_width="match_parent"
  12. android:layout_height="48dp"
  13. app:layout_constraintEnd_toEndOf="parent"
  14. app:layout_constraintStart_toStartOf="parent"
  15. app:layout_constraintTop_toTopOf="parent">
  16. <ImageView
  17. android:id="@+id/backIv"
  18. android:layout_width="24dp"
  19. android:layout_height="24dp"
  20. android:layout_marginStart="16dp"
  21. android:contentDescription="back"
  22. android:src="@drawable/ic_round_arrow_back_24"
  23. app:layout_constraintBottom_toBottomOf="parent"
  24. app:layout_constraintStart_toStartOf="parent"
  25. app:layout_constraintTop_toTopOf="parent" />
  26. <TextView
  27. android:id="@+id/titleTv"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:text="现场勘测描绘"
  31. android:textColor="@color/black_272727"
  32. android:textSize="18sp"
  33. app:layout_constraintBottom_toBottomOf="parent"
  34. app:layout_constraintEnd_toEndOf="parent"
  35. app:layout_constraintStart_toStartOf="parent"
  36. app:layout_constraintTop_toTopOf="parent" />
  37. </androidx.constraintlayout.widget.ConstraintLayout>
  38. <ExpandableListView
  39. android:id="@+id/expandLv"
  40. android:layout_width="0dp"
  41. android:layout_height="0dp"
  42. app:layout_constraintBottom_toBottomOf="parent"
  43. app:layout_constraintEnd_toEndOf="parent"
  44. app:layout_constraintStart_toStartOf="parent"
  45. app:layout_constraintTop_toBottomOf="@+id/topBarTv" />
  46. </androidx.constraintlayout.widget.ConstraintLayout>