Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. /* Fragment Number One*/
  2. <?xml version="1.0" encoding="utf-8"?>
  3. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. xmlns:app="http://schemas.android.com/apk/res-auto">
  6. <data/>
  7.  
  8. <androidx.coordinatorlayout.widget.CoordinatorLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent">
  11.  
  12. <com.google.android.material.appbar.AppBarLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. app:elevation="0dp">
  16.  
  17. <include layout="@layout/layout_toolbar_user" />
  18.  
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:orientation="vertical"
  23. android:paddingBottom="5dp">
  24.  
  25. <com.google.android.material.tabs.TabLayout
  26. style="@style/FirstTabLayout"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:id="@+id/tab_layout" />
  30. </LinearLayout>
  31.  
  32. </com.google.android.material.appbar.AppBarLayout>
  33.  
  34. <androidx.viewpager2.widget.ViewPager2
  35. android:id="@+id/view_pager"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
  39. </androidx.coordinatorlayout.widget.CoordinatorLayout>
  40. </layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement