library_controller.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout 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:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical">
  11. <Button
  12. android:id="@+id/btn_global_search"
  13. style="?attr/borderlessButtonStyle"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_margin="8dp"
  17. android:visibility="gone"
  18. tools:text="Search"
  19. tools:visibility="visible" />
  20. <androidx.viewpager.widget.ViewPager
  21. android:id="@+id/library_pager"
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent" />
  24. </LinearLayout>
  25. <eu.kanade.tachiyomi.widget.ActionToolbar
  26. android:id="@+id/action_toolbar"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:layout_gravity="bottom"
  30. app:layout_dodgeInsetEdges="bottom" />
  31. <eu.kanade.tachiyomi.widget.EmptyView
  32. android:id="@+id/empty_view"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_gravity="center"
  36. android:visibility="gone" />
  37. </FrameLayout>