anotherim/src/main/res/layout/activity_show_location.xml

38 lines
1.5 KiB
XML
Raw Normal View History

2018-03-11 18:09:35 +00:00
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
2018-03-11 18:09:35 +00:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
2018-03-11 18:09:35 +00:00
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize" />
</com.google.android.material.appbar.AppBarLayout>
2018-03-11 18:09:35 +00:00
<org.osmdroid.views.MapView
android:id="@+id/map"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_below="@id/app_bar_layout" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_gravity="end|bottom"
android:layout_margin="16dp"
android:contentDescription="@string/action_unfix_from_location"
android:src="@drawable/ic_directions_24dp" />
</RelativeLayout>
</layout>