-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_map.xml
55 lines (49 loc) · 2.24 KB
/
activity_map.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
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http:https://schemas.android.com/apk/res/android"
xmlns:app="http:https://schemas.android.com/apk/res-auto"
xmlns:tools="http:https://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Activity.MapActivity">
<fragment
android:layout_width="0dp"
android:layout_height="0dp"
android:id="@+id/mapFragment"
tools:context=".MapsActivity"
android:name="com.google.android.gms.maps.SupportMapFragment"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/checkButton"
android:layout_marginBottom="12dp"/>
<Button
android:id="@+id/cancelButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="12dp"
android:fontFamily="@font/font"
android:text="취소"
app:layout_constraintStart_toEndOf="@id/checkButton"/>
<Button
android:id="@+id/checkButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/cancelButton"
android:layout_marginBottom="12dp"
android:fontFamily="@font/font"
android:text="확인"
app:layout_constraintStart_toStartOf="parent" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/currentLocationButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_my_location"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="@id/mapFragment"
android:layout_marginEnd="32dp"
android:layout_marginBottom="32dp"
android:contentDescription="현재 위치" />
</androidx.constraintlayout.widget.ConstraintLayout>