<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
tools:context="cn.flightfeather.thirdappmodule.activity.MapActivity">
|
|
<include
|
android:id="@+id/actionbar"
|
layout="@layout/layout_actionbar"
|
/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="30dp">
|
<com.amap.api.maps.MapView
|
android:id="@+id/MV_map"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:background="@color/transparentwhite"
|
android:layout_alignParentBottom="true"
|
android:weightSum="1">
|
<TextView
|
android:id="@+id/TV_start_location"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="确定位置"
|
android:textColor="@color/white"
|
android:gravity="center"
|
android:textSize="20dp"
|
android:padding="6dp"
|
android:layout_margin="5dp"
|
android:background="@color/colorPrimary" />
|
</LinearLayout>
|
|
</RelativeLayout>
|