fragment_on_boarding.xml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:id="@+id/main_content"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:background="@color/CF8F8F8">
  10. <android.support.v4.view.ViewPager
  11. android:id="@+id/tutorial_view_pager"
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:layout_alignParentBottom="true"
  15. android:layout_alignParentStart="true"
  16. app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
  17. <android.support.design.widget.TabLayout
  18. android:id="@+id/tutorial_tab_layout"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:layout_alignParentStart="true"
  22. android:layout_alignParentTop="true"
  23. app:tabBackground="@drawable/tab_selector"
  24. app:tabGravity="center"
  25. app:tabIndicatorHeight="0dp"/>
  26. <include layout="@layout/on_boarding_bottom_layout"/>
  27. </RelativeLayout>