fragment_songs.xml 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.appcompat.widget.LinearLayoutCompat
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent" >
  7. <androidx.viewpager.widget.ViewPager
  8. android:id="@+id/tabPager"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. app:layout_constraintEnd_toEndOf="parent"
  12. app:layout_constraintStart_toStartOf="parent"
  13. app:layout_constraintTop_toTopOf="parent" >
  14. <com.google.android.material.tabs.TabLayout
  15. android:id="@+id/tabLayout"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. app:tabMode="scrollable"
  19. app:tabMinWidth="100dp"
  20. app:tabGravity="center"
  21. app:tabIndicatorFullWidth="true"
  22. android:paddingBottom="8dp"
  23. >
  24. <!--
  25. <com.google.android.material.tabs.TabItem
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:text="Last played" />
  29. <com.google.android.material.tabs.TabItem
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:text="Queue" />
  33. <com.google.android.material.tabs.TabItem
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:text="Request" />
  37. -->
  38. </com.google.android.material.tabs.TabLayout>
  39. </androidx.viewpager.widget.ViewPager>
  40. </androidx.appcompat.widget.LinearLayoutCompat>