aaf5fa816b
This further reduces the minimum API level to 16, which should encompass most users stuck on older versions of Android (mainly BlackBerry OS and Jolla users). Several issues reported by code analysis were fixed, mainly around issues with layouts.
78 lines
3.1 KiB
XML
78 lines
3.1 KiB
XML
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".ui.ShareLocationActivity">
|
|
|
|
<include
|
|
android:id="@+id/toolbar"
|
|
layout="@layout/toolbar"/>
|
|
|
|
<android.support.design.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/snackbar_coordinator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@+id/button_bar" >
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:id="@+id/fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/button_bar"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_gravity="end|bottom"
|
|
android:layout_margin="16dp"
|
|
app:backgroundTint="?colorPrimary"
|
|
android:contentDescription="@string/action_unfix_from_location"
|
|
android:src="?attr/icon_gps_fixed"
|
|
android:layout_alignParentRight="true" />
|
|
|
|
|
|
<org.osmdroid.views.MapView
|
|
android:id="@+id/map"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/button_bar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentRight="true"
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
<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"/>
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginBottom="7dp"
|
|
android:layout_marginTop="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>
|
|
|
|
</RelativeLayout>
|
|
</layout> |