Added floating action button to Conversation List view

This commit is contained in:
lucyyu24
2017-09-28 23:13:05 -07:00
parent 1ed758c245
commit 89bd081c14
3 changed files with 21 additions and 5 deletions
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -35,6 +36,17 @@
android:layout_height="8dp"
android:background="@drawable/ab_shadow" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|right"
android:layout_margin="20dp"
android:src="@drawable/ic_add_black_24dp"
android:tint="@color/white"
app:layout_anchor="@+id/conversationList"
app:layout_anchorGravity="bottom|right|end" />
</FrameLayout>
</LinearLayout>