blob: 479c8556d19f2f5ea8840da84b349a91fbf02408 (
plain)
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
56
57
58
59
60
61
62
63
64
65
|
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/mapContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:visibility="visible"/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/overlay"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/zoomInButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/fab_margin"
android:layout_marginEnd="@dimen/fab_margin"
android:backgroundTint="@android:color/white"
android:contentDescription="@string/switch_layer"
android:src="@drawable/icon_zoom_in"
app:borderWidth="0dp"
app:elevation="@dimen/fab_elevation"
app:fabSize="mini"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/zoomOutButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/fab_margin"
android:backgroundTint="@android:color/white"
android:contentDescription="@string/switch_layer"
android:src="@drawable/icon_zoom_out"
app:borderWidth="0dp"
app:elevation="@dimen/fab_elevation"
app:fabSize="mini"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/zoomInButton" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/mapLayerToggle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/fab_margin"
android:backgroundTint="@android:color/white"
android:contentDescription="@string/switch_layer"
android:src="@drawable/icon_layers"
app:borderWidth="0dp"
app:elevation="@dimen/fab_elevation"
app:fabSize="mini"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/zoomOutButton"
android:visibility="gone" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
|