Newer
Older
dcms_cr_app / app / src / main / res / layout / activity_gis.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <com.qmuiteam.qmui.widget.QMUITopBarLayout
        android:id="@+id/gisTopLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:fitsSystemWindows="true" />

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <com.esri.arcgisruntime.mapping.view.MapView
            android:id="@+id/mapView"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end|center_vertical"
            android:layout_marginEnd="@dimen/margin_10dp"
            android:orientation="vertical">

            <com.qmuiteam.qmui.alpha.QMUIAlphaImageButton
                android:id="@+id/expandMapView"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|end"
                android:layout_marginBottom="1px"
                android:background="@drawable/bg_button"
                android:elevation="5dp"
                android:padding="5dp"
                android:src="@drawable/ic_add_black" />

            <com.qmuiteam.qmui.alpha.QMUIAlphaImageButton
                android:id="@+id/minusMapView"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|end"
                android:layout_margin="1px"
                android:background="@drawable/bg_button"
                android:elevation="5dp"
                android:padding="5dp"
                android:src="@drawable/ic_minus" />
        </LinearLayout>

        <com.qmuiteam.qmui.alpha.QMUIAlphaImageButton
            android:id="@+id/removeToLocalView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|end"
            android:layout_margin="10dp"
            android:background="@drawable/bg_button"
            android:elevation="5dp"
            android:padding="5dp"
            android:src="@drawable/ic_aim" />
    </FrameLayout>
</LinearLayout>