2018-04-21 16:25:40 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-01-12 20:08:13 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2018-03-11 18:09:35 +00:00
|
|
|
|
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".ui.ShareLocationActivity">
|
2018-03-11 18:09:35 +00:00
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
layout="@layout/toolbar" />
|
2018-03-11 18:09:35 +00:00
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
<android.support.design.widget.CoordinatorLayout
|
2018-04-21 16:25:40 +00:00
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
android:id="@+id/snackbar_coordinator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@+id/button_bar"
|
|
|
|
android:layout_below="@id/toolbar">
|
2018-04-21 16:25:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<org.osmdroid.views.MapView
|
|
|
|
android:id="@+id/map"
|
|
|
|
android:layout_width="match_parent"
|
2019-01-12 20:08:13 +00:00
|
|
|
android:layout_height="match_parent" />
|
2018-03-11 18:09:35 +00:00
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/fab"
|
2018-04-21 16:25:40 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-04-18 15:46:56 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-01-12 20:08:13 +00:00
|
|
|
android:layout_above="@+id/button_bar"
|
|
|
|
android:layout_alignParentEnd="true"
|
2018-04-21 16:25:40 +00:00
|
|
|
android:layout_alignParentRight="true"
|
2019-01-12 20:08:13 +00:00
|
|
|
android:layout_gravity="end|bottom"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
app:elevation="4dp"
|
|
|
|
android:contentDescription="@string/action_unfix_from_location"
|
|
|
|
android:src="?attr/icon_gps_fixed"
|
|
|
|
app:backgroundTint="?colorPrimary" />
|
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|
2018-04-21 16:25:40 +00:00
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/button_bar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
tools:ignore="RtlHardcoded">
|
2018-04-21 16:25:40 +00:00
|
|
|
|
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/cancel_button"
|
|
|
|
style="@style/Widget.Conversations.Button.Borderless"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/cancel" />
|
2018-03-11 18:09:35 +00:00
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginTop="7dp"
|
|
|
|
android:layout_marginBottom="7dp"
|
|
|
|
android:background="?attr/divider" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/share_button"
|
|
|
|
style="@style/Widget.Conversations.Button.Borderless"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/share" />
|
|
|
|
</LinearLayout>
|
2018-03-11 18:09:35 +00:00
|
|
|
|
2019-01-12 20:08:13 +00:00
|
|
|
</RelativeLayout>
|
2018-04-21 16:25:40 +00:00
|
|
|
</layout>
|