-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_maps.xml
46 lines (40 loc) · 1.6 KB
/
activity_maps.xml
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
46
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="1"
tools:context=".MapsActivity">
<EditText
android:id="@+id/lat"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Latitude" />
<EditText
android:id="@+id/lon"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Longitude" />
<Button
android:id="@+id/enter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="Enter"
android:text="Enter" />
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:gravity="center"
android:text="Earthquake Risk:" />
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="350dp"
android:layout_marginBottom="50dp"
tools:context="com.earthquake.archi.earthquake.MapsActivity" />
</LinearLayout>