riku
2025-10-30 e9aa93f381afcf9f9cf0c39f2b9e32375ed49528
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
35
36
37
38
39
40
41
42
43
44
45
<?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>