| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | android:id="@+id/activity_main" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | > |
| | | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:tools="http://schemas.android.com/tools" android:layout_height="match_parent" |
| | | android:orientation="horizontal" |
| | | android:layout_width="match_parent"> |
| | | <FrameLayout |
| | | android:id="@+id/activity_main" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="3" |
| | | > |
| | | |
| | | <com.esri.arcgisruntime.mapping.view.MapView |
| | | android:id="@+id/mapView" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" > |
| | | </com.esri.arcgisruntime.mapping.view.MapView> |
| | | <Button |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="bottom|left" |
| | | android:id="@+id/btn_change_map" |
| | | android:background="@drawable/btn_state_save" |
| | | <com.esri.arcgisruntime.mapping.view.MapView |
| | | android:id="@+id/mapView" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | > |
| | | </com.esri.arcgisruntime.mapping.view.MapView> |
| | | <Button |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="bottom|left" |
| | | android:id="@+id/btn_change_map" |
| | | android:background="@drawable/btn_state_save" |
| | | |
| | | android:text="切换地图"/> |
| | | </FrameLayout> |
| | | android:text="切换地图"/> |
| | | |
| | | </FrameLayout> |
| | | <SurfaceView |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:id="@+id/surfaceview_arcgis"/> |
| | | </LinearLayout> |