fragment_contact_list.xml 1.0 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:id="@+id/coordinatorLayout"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  8. <org.briarproject.android.util.BriarRecyclerView
  9. android:id="@+id/contactList"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"/>
  12. <android.support.design.widget.FloatingActionButton
  13. android:id="@+id/addContactFAB"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_gravity="bottom|end"
  17. android:layout_margin="@dimen/margin_activity_horizontal"
  18. android:src="@drawable/ic_add_white"
  19. app:fabSize="normal"
  20. app:elevation="4dp"
  21. app:layout_anchor="@id/contactList"
  22. app:layout_anchorGravity="bottom|right|end"
  23. app:layout_behavior="org.briarproject.android.util.HideFabOnScrollBehavior"/>
  24. </android.support.design.widget.CoordinatorLayout>