Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  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:id="@+id/main_content"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:fitsSystemWindows="true"
  9. tools:context="se.kth.projectarbor.project_arbor.MainUIActivity">
  10.  
  11. <android.support.design.widget.AppBarLayout
  12. android:id="@+id/appbar"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:paddingTop="@dimen/appbar_padding_top"
  16. android:theme="@style/AppTheme.AppBarOverlay">
  17.  
  18. <android.support.design.widget.TabLayout
  19. android:id="@+id/tabs"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:background="@android:color/holo_blue_bright" />
  23.  
  24. </android.support.design.widget.AppBarLayout>
  25.  
  26. <android.support.v4.view.ViewPager
  27. android:id="@+id/container"
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. app:layout_behavior="@string/appbar_scrolling_view_behavior" />
  31.  
  32. <android.support.design.widget.FloatingActionButton
  33. android:id="@+id/fab"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_gravity="end|bottom"
  37. android:layout_margin="@dimen/fab_margin"
  38. app:backgroundTint="@android:color/holo_green_light"
  39. app:srcCompat="@android:drawable/ic_menu_manage" />
  40.  
  41. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement