1<?xml version="1.0" encoding="utf-8"?>
2<layout xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <RelativeLayout
5 android:layout_width="match_parent"
6 android:layout_height="match_parent">
7
8 <com.google.android.material.appbar.AppBarLayout
9 android:id="@+id/app_bar_layout"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content">
12
13 <com.google.android.material.appbar.MaterialToolbar
14 android:id="@+id/toolbar"
15 android:layout_width="match_parent"
16 android:layout_height="wrap_content"
17 android:minHeight="?attr/actionBarSize" />
18
19 </com.google.android.material.appbar.AppBarLayout>
20
21 <org.osmdroid.views.MapView
22 android:id="@+id/map"
23 android:layout_width="fill_parent"
24 android:layout_height="fill_parent"
25 android:layout_below="@id/app_bar_layout" />
26
27 <com.google.android.material.floatingactionbutton.FloatingActionButton
28 android:id="@+id/fab"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:layout_alignParentEnd="true"
32 android:layout_alignParentBottom="true"
33 android:layout_gravity="end|bottom"
34 android:layout_margin="16dp"
35 android:contentDescription="@string/action_unfix_from_location"
36 android:src="@drawable/ic_directions_24dp" />
37 </RelativeLayout>
38</layout>