trade_list_fragment.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/white"
  8. android:fitsSystemWindows="false"
  9. android:orientation="vertical">
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:orientation="vertical">
  14. <LinearLayout
  15. android:id="@+id/trade_list_notifications_layout"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:orientation="vertical"
  19. tools:layout_editor_absoluteX="8dp"
  20. tools:layout_editor_absoluteY="0dp" />
  21. <android.support.v7.widget.RecyclerView
  22. android:id="@+id/trade_list_recyclerview"
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. tools:layout_editor_absoluteX="8dp"
  26. tools:layout_editor_absoluteY="8dp" />
  27. </LinearLayout>
  28. <android.support.design.widget.FloatingActionButton
  29. android:id="@+id/trade_list_fab"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_margin="16dp"
  33. android:src="@drawable/ico_trade_publish"
  34. app:layout_anchor="@id/trade_list_recyclerview"
  35. app:layout_anchorGravity="bottom|end" />
  36. </android.support.design.widget.CoordinatorLayout>