Newer
Older
dxcgt_app / app / src / main / res / layout / map1.xml
wangxitong on 12 Jan 2021 2 KB first commit
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

    <view
        android:id="@+id/titlebar"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        class="com.smartdot.cgt.view.TitleBar" >
    </view>
    
    <com.esri.android.map.MapView
        android:id="@+id/viewMapPanel"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_marginTop="50dip" >
    </com.esri.android.map.MapView>

    <LinearLayout
        android:id="@+id/zoomControls"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
     
        >
                 <EditText
                    android:id="@+id/txtAddress"   android:layout_height="42dip" android:layout_marginLeft="115dip" android:layout_marginBottom="5dip"
                    style="@style/style_problem_input_textmap"
                    android:hint="请输入考勤位置" >
                </EditText>
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_centerHorizontal="true" >

        <ImageButton
            android:id="@+id/btnMyLocation"
            android:layout_width="45dip"
            android:layout_height="45dip"
            android:layout_margin="5dip"
            android:background="@drawable/imagebtn_press"
            android:contentDescription="@string/map_btn_myposition"
            android:scaleType="fitXY"
            android:src="@drawable/btnmylocation" >
        </ImageButton>

        <ImageButton
            android:id="@+id/btnViewFull"
            android:layout_width="45dip"
            android:layout_height="45dip"
            android:layout_margin="5dip"
            android:background="@drawable/imagebtn_press"
            android:contentDescription="@string/map_btn_viewentire"
            android:scaleType="fitXY"
            android:src="@drawable/btn_viewfullmap" >
        </ImageButton>
    </LinearLayout>

</RelativeLayout>