global_search_controller.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content">
  6. <androidx.recyclerview.widget.RecyclerView
  7. android:id="@+id/recycler"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:clipToPadding="false"
  11. android:paddingTop="4dp"
  12. android:paddingBottom="4dp"
  13. tools:listitem="@layout/global_search_controller_card" />
  14. <com.google.android.material.progressindicator.LinearProgressIndicator
  15. android:id="@+id/progress_bar"
  16. android:layout_width="match_parent"
  17. android:layout_height="2dp"
  18. android:max="100"
  19. android:visibility="gone"
  20. tools:progress="50"
  21. tools:visibility="visible" />
  22. <FrameLayout
  23. android:id="@+id/progress"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. android:visibility="gone">
  27. <FrameLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. android:alpha="0.75"
  31. android:background="?attr/colorSurface" />
  32. <com.google.android.material.progressindicator.CircularProgressIndicator
  33. android:layout_width="wrap_content"
  34. android:layout_height="match_parent"
  35. android:layout_gravity="center"
  36. android:indeterminate="true" />
  37. </FrameLayout>
  38. <eu.kanade.tachiyomi.widget.EmptyView
  39. android:id="@+id/empty_view"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_gravity="center"
  43. android:visibility="gone" />
  44. </FrameLayout>