Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. <android.support.design.widget.CoordinatorLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:fab="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:fitsSystemWindows="true"
  9. tools:context="com.studentsins.lust.MainActivity">
  10.  
  11. <android.support.design.widget.AppBarLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:theme="@style/AppTheme.AppBarOverlay">
  15.  
  16. <android.support.v7.widget.Toolbar
  17. android:id="@+id/toolbar"
  18. android:layout_width="match_parent"
  19. android:layout_height="?attr/actionBarSize"
  20. android:background="?attr/colorPrimary"
  21. app:popupTheme="@style/AppTheme.PopupOverlay"
  22. app:layout_scrollFlags="scroll|enterAlways" />
  23.  
  24. <android.support.design.widget.TabLayout
  25. android:id="@+id/sliding_tabs"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. style="@style/NavigationTab"/>
  29.  
  30.  
  31. </android.support.design.widget.AppBarLayout>
  32.  
  33. <android.support.v4.view.ViewPager
  34. android:id="@+id/viewpager"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
  38.  
  39.  
  40. <include layout="@layout/content_main"/>
  41.  
  42. <com.getbase.floatingactionbutton.FloatingActionsMenu
  43. android:id="@+id/floatingActionMenu"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:layout_alignParentRight="true"
  47. android:layout_alignParentEnd="true"
  48. fab:fab_addButtonColorNormal="@color/blood_orange"
  49. fab:fab_addButtonColorPressed="@color/dirtyWhite"
  50. fab:fab_addButtonPlusIconColor="@color/dirtyWhite"
  51. fab:fab_addButtonSize = "normal"
  52. fab:fab_labelStyle="@style/menu_labels_style"
  53. fab:fab_labelsPosition="left"
  54. app:layout_anchor="@id/viewpager"
  55. app:layout_anchorGravity="bottom|end">
  56.  
  57. <com.getbase.floatingactionbutton.FloatingActionButton
  58. android:id="@+id/createPlanBtn"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. fab:fab_colorNormal="@color/blood_orange"
  62. fab:fab_title="Create a plan"
  63. fab:fab_size="normal"
  64. app:fab_icon="@drawable/ic_event_white_48dp"
  65. fab:fab_colorPressed="@color/dirtyWhite"/>
  66.  
  67. <com.getbase.floatingactionbutton.FloatingActionButton
  68. android:id="@+id/changeStatusBtn"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. fab:fab_colorNormal="@color/blood_orange"
  72. fab:fab_size="normal"
  73. app:fab_icon="@drawable/ic_textsms_white_48dp"
  74. fab:fab_title="Change status"
  75. fab:fab_colorPressed="@color/dirtyWhite"/>
  76.  
  77. </com.getbase.floatingactionbutton.FloatingActionsMenu>
  78.  
  79. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement