aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_choose_contact.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-03 21:14:17 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-03 21:14:17 +0200
commit035f2ce97395d60448be7e751f586080e39d4c31 (patch)
tree9e4669954701a24ae656bd5653a43a466846c03f /src/main/res/layout/activity_choose_contact.xml
parenta311e0912f9bb6d45b43ed61031f7470546c32b6 (diff)
use fab in choose contact activity. scan qr not yet working
Diffstat (limited to 'src/main/res/layout/activity_choose_contact.xml')
-rw-r--r--src/main/res/layout/activity_choose_contact.xml30
1 files changed, 19 insertions, 11 deletions
diff --git a/src/main/res/layout/activity_choose_contact.xml b/src/main/res/layout/activity_choose_contact.xml
index c5158510b..5767def46 100644
--- a/src/main/res/layout/activity_choose_contact.xml
+++ b/src/main/res/layout/activity_choose_contact.xml
@@ -1,16 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
-<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:background="?attr/color_background_primary">
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
- <ListView
- android:id="@+id/choose_contact_list"
+ <FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:divider="@android:color/transparent"
- android:dividerHeight="0dp"
- tools:listitem="@layout/contact" />
+ android:background="?attr/color_background_primary">
-</LinearLayout> \ No newline at end of file
+ <ListView
+ android:id="@+id/choose_contact_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:divider="@android:color/transparent"
+ android:dividerHeight="0dp"/>
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end|bottom"
+ android:layout_margin="16dp"
+ android:src="@drawable/ic_person_add_white_24dp"/>
+ </FrameLayout>
+</layout> \ No newline at end of file