activity_switch_status.xml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@mipmap/main_bg"
  8. android:divider="@drawable/divider_horizontal"
  9. android:orientation="vertical"
  10. android:showDividers="middle">
  11. <FrameLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:divider="@drawable/divider_horizontal"
  15. android:orientation="horizontal"
  16. android:showDividers="middle">
  17. <com.onlylemi.mapview.library.MapView
  18. android:id="@+id/mapview"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent" />
  21. <androidx.constraintlayout.widget.ConstraintLayout
  22. android:layout_width="wrap_content"
  23. android:layout_height="match_parent"
  24. android:layout_gravity="right">
  25. <LinearLayout
  26. android:id="@+id/point_list"
  27. android:layout_width="wrap_content"
  28. android:layout_height="match_parent"
  29. android:layout_marginLeft="20dp"
  30. android:background="@drawable/common_layout_bg"
  31. android:orientation="vertical"
  32. android:padding="@dimen/common_spacing"
  33. android:minWidth="200dp"
  34. android:visibility="gone"
  35. app:layout_constraintBottom_toBottomOf="parent"
  36. app:layout_constraintEnd_toEndOf="parent"
  37. app:layout_constraintStart_toStartOf="@id/cb_show"
  38. app:layout_constraintTop_toTopOf="parent">
  39. <com.grkj.iscs_mars.view.widget.CommonBtn
  40. android:id="@+id/cb_back"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_above="@id/tv_tip"
  44. android:layout_gravity="center_horizontal"
  45. app:btn_bg="@drawable/common_btn_blue_bg"
  46. app:btn_name="@string/back" />
  47. <TextView
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_gravity="center_horizontal"
  51. android:gravity="center"
  52. android:layout_marginVertical="@dimen/common_spacing"
  53. android:text="@string/switch_information"
  54. android:textColor="@color/white"
  55. android:textSize="@dimen/common_text_size"
  56. android:textStyle="bold" />
  57. <androidx.recyclerview.widget.RecyclerView
  58. android:id="@+id/rv_list"
  59. android:layout_width="match_parent"
  60. android:layout_height="match_parent"
  61. android:minWidth="200dp"
  62. android:paddingHorizontal="10dp" />
  63. </LinearLayout>
  64. <ImageView
  65. android:id="@+id/cb_show"
  66. android:layout_width="40dp"
  67. android:layout_height="40dp"
  68. android:src="@drawable/icon_chevron_left"
  69. app:layout_constraintBottom_toBottomOf="parent"
  70. app:layout_constraintStart_toStartOf="parent"
  71. app:layout_constraintTop_toTopOf="parent" />
  72. </androidx.constraintlayout.widget.ConstraintLayout>
  73. </FrameLayout>
  74. </LinearLayout>