aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_start_conversation.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-27 21:25:46 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-27 22:03:07 +0100
commit480f18449b8da6619efc7dd8c7e26e5757c9648d (patch)
tree3c91ba1ef39c42ca92127e81bf43c82c45e51c3b /src/main/res/layout/activity_start_conversation.xml
parentdce424376f0df3e935ed610e292b2a4f6d5f9c2a (diff)
show sub menu fabs for create group chats
Diffstat (limited to '')
-rw-r--r--src/main/res/layout/activity_start_conversation.xml19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/main/res/layout/activity_start_conversation.xml b/src/main/res/layout/activity_start_conversation.xml
index 7681cbc9b..f5ca18b5a 100644
--- a/src/main/res/layout/activity_start_conversation.xml
+++ b/src/main/res/layout/activity_start_conversation.xml
@@ -31,14 +31,25 @@
android:layout_below="@id/tab_layout"
android:background="?attr/color_background_secondary" />
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/fab"
+ <com.leinardi.android.speeddial.SpeedDialOverlayLayout
+ android:id="@+id/overlay"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@id/tab_layout"
+ android:background="?color_background_overlay" />
+
+ <com.leinardi.android.speeddial.SpeedDialView
+ android:id="@+id/speed_dial"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
- android:layout_margin="16dp"
- android:src="?attr/icon_add_person" />
+ app:backgroundTint="?attr/colorAccent"
+ app:sdMainFabClosedBackgroundColor="?attr/colorAccent"
+ app:sdMainFabClosedSrc="@drawable/ic_person_add_white_24dp"
+ app:sdMainFabOpenedBackgroundColor="?attr/colorAccent"
+ app:sdMainFabOpenedSrc="@drawable/ic_close_white_24dp"
+ app:sdOverlayLayout="@id/overlay" />
</RelativeLayout>
</layout> \ No newline at end of file