98 lines
3.6 KiB
XML
98 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/root_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<io.legado.app.ui.book.manga.recyclerview.WebtoonFrame
|
|
android:id="@+id/webtoon_frame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black">
|
|
|
|
<io.legado.app.ui.book.manga.recyclerview.WebtoonRecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
</io.legado.app.ui.book.manga.recyclerview.WebtoonFrame>
|
|
|
|
<io.legado.app.ui.widget.ReaderInfoBarView
|
|
android:id="@+id/infobar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginBottom="10dp"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<io.legado.app.ui.book.read.MangaMenu
|
|
android:id="@+id/manga_menu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/fl_loading"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_loading"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorSurface"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.loadingindicator.LoadingIndicator
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:indicatorSize="64dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_loading_message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:textStyle="bold"
|
|
android:text="@string/loading" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_retry"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<io.legado.app.ui.widget.EmptyMessageView
|
|
android:id="@+id/tv_msg2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/white"
|
|
android:textSize="32sp" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/tv_retry"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Widget.Material3Expressive.Button.TonalButton"
|
|
app:icon="@drawable/ic_refresh"
|
|
android:layout_margin="16dp"
|
|
app:iconPadding="4dp"
|
|
android:text="@string/load_error_retry"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</FrameLayout>
|