activity_start_conversation.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent" android:tag="layout/activity_start_conversation_0" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
  5. <include android:id="@+id/toolbar"
  6. layout="@layout/toolbar" />
  7. <android.support.design.widget.TabLayout
  8. android:id="@+id/tab_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_below="@id/toolbar"
  12. android:background="@color/blue500"
  13. android:elevation="@dimen/toolbar_elevation"
  14. android:minHeight="?attr/actionBarSize"
  15. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
  16. app:tabGravity="fill"
  17. app:tabIndicatorColor="@color/white87"
  18. app:tabMode="fixed"
  19. app:tabSelectedTextColor="@color/white"
  20. app:tabTextColor="@color/white70" />
  21. <android.support.v4.view.ViewPager
  22. android:id="@+id/start_conversation_view_pager"
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:layout_below="@id/tab_layout"
  26. android:background="?attr/color_background_primary">
  27. </android.support.v4.view.ViewPager>
  28. <com.leinardi.android.speeddial.SpeedDialOverlayLayout
  29. android:id="@+id/overlay"
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent"
  32. android:layout_below="@id/tab_layout"
  33. android:background="?color_background_overlay"/>
  34. <com.leinardi.android.speeddial.SpeedDialView
  35. android:id="@+id/speed_dial"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_alignParentEnd="true"
  39. app:backgroundTint="?colorPrimary"
  40. android:layout_alignParentRight="true"
  41. android:layout_alignParentBottom="true"
  42. app:sdMainFabClosedSrc="@drawable/ic_add_white_24dp"
  43. app:sdMainFabClosedBackgroundColor="?colorPrimary"
  44. app:sdMainFabOpenedBackgroundColor="?colorPrimaryDark"
  45. app:sdUseReverseAnimationOnClose="true"
  46. app:sdOverlayLayout="@id/overlay"/>
  47. </RelativeLayout>