fctom1215
2021-04-27 5a7a49f35b1e306e10fcdde45f7953bbe55b12e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<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"
 
            android:text="切换地图"/>
 
    </FrameLayout>
    <SurfaceView
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:id="@+id/surfaceview_arcgis"/>
</LinearLayout>