activity_main.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/main_coordinator"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <org.fossify.commons.views.MySearchMenu
  8. android:id="@+id/main_menu"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content" />
  11. <RelativeLayout
  12. android:id="@+id/main_holder"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  16. <org.fossify.commons.views.MyViewPager
  17. android:id="@+id/main_view_pager"
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:layout_above="@+id/main_tabs_holder" />
  21. <com.google.android.material.tabs.TabLayout
  22. android:id="@+id/main_tabs_holder"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:layout_alignParentBottom="true"
  26. app:tabIndicator="@null"
  27. app:tabMinWidth="150dp"
  28. app:tabRippleColor="@null" />
  29. </RelativeLayout>
  30. </androidx.coordinatorlayout.widget.CoordinatorLayout>