aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-05 22:01:08 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-05 22:01:08 +0200
commit89cca15e77130eae3b1c79b054b72de01debeb57 (patch)
tree877aaaecdf4a47c92a7d448c363bd0c1a7530258 /src/main/res/layout
parent22b304baa9c547cb66eea4b7676be4c2085a23fd (diff)
use navigate as floating action button in showlocation
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/activity_show_locaction.xml18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/main/res/layout/activity_show_locaction.xml b/src/main/res/layout/activity_show_locaction.xml
index d6b26e6f4..b7a98765f 100644
--- a/src/main/res/layout/activity_show_locaction.xml
+++ b/src/main/res/layout/activity_show_locaction.xml
@@ -1,22 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:background="?attr/color_background_secondary">
<include
android:id="@+id/toolbar"
layout="@layout/toolbar" />
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ <LinearLayout 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"
+ android:layout_below="@id/toolbar"
tools:context="ui.ShowLocationActivity">
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="match_parent"></WebView>
- </RelativeLayout>
+ </LinearLayout>
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentRight="true"
+ android:layout_margin="16dp"
+ android:src="@drawable/ic_navigation_white_24dp" />
+
</RelativeLayout> \ No newline at end of file