activity_mange.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <io.legado.app.ui.book.manga.rv.WebtoonFrame 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. <io.legado.app.ui.book.manga.rv.WebtoonRecyclerView
  8. android:id="@+id/mRecyclerMange"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent" />
  11. <io.legado.app.ui.widget.ReaderInfoBarView
  12. android:id="@+id/infobar"
  13. android:layout_width="match_parent"
  14. android:layout_height="20dp"
  15. android:layout_gravity="bottom"
  16. android:layout_marginBottom="10dp"
  17. android:paddingStart="10dp"
  18. android:paddingEnd="10dp"
  19. android:visibility="gone"
  20. tools:visibility="visible" />
  21. <io.legado.app.ui.book.read.MangaMenu
  22. android:id="@+id/mangaMenu"
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:visibility="gone"
  26. tools:visibility="visible" />
  27. <FrameLayout
  28. android:id="@+id/fl_loading"
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:background="@color/white">
  32. <LinearLayout
  33. android:id="@+id/ll_loading"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:layout_gravity="center"
  37. android:gravity="center"
  38. android:orientation="vertical">
  39. <ProgressBar
  40. style="@style/Widget.Material3.CircularProgressIndicator.Small"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:indeterminate="true"
  44. app:indicatorColor="@color/white"
  45. app:indicatorSize="36dp"
  46. app:trackCornerRadius="99dp"
  47. app:trackThickness="3dp" />
  48. <TextView
  49. android:id="@+id/tv_loading_message"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_marginTop="10dp"
  53. android:text="正在加载中..."
  54. android:textColor="@color/black" />
  55. </LinearLayout>
  56. <LinearLayout
  57. android:id="@+id/ll_retry"
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent"
  60. android:visibility="gone"
  61. android:gravity="center"
  62. android:orientation="vertical">
  63. <TextView
  64. android:id="@+id/tv_msg"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:textColor="@color/black" />
  68. <Button
  69. android:id="@+id/retry"
  70. style="@style/Widget.Material3.Button.TonalButton"
  71. android:layout_width="wrap_content"
  72. android:layout_height="wrap_content"
  73. android:layout_gravity="center"
  74. android:text="重新加载"
  75. android:textSize="18sp"
  76. app:cornerRadius="10dp"
  77. tools:visibility="visible" />
  78. </LinearLayout>
  79. </FrameLayout>
  80. </io.legado.app.ui.book.manga.rv.WebtoonFrame>