117 lines
3.7 KiB
XML
117 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:keepScreenOn="true">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<org.koitharu.kotatsu.reader.ui.ReaderInfoBarView
|
|
android:id="@+id/infoBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:paddingHorizontal="6dp"
|
|
android:textSize="12sp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ZoomControl
|
|
android:id="@+id/zoomControl"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="16dp"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
app:layout_dodgeInsetEdges="bottom"
|
|
tools:visibility="visible" />
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appbar_top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="@dimen/m3_card_elevated_elevation"
|
|
app:elevation="@dimen/m3_card_elevated_elevation"
|
|
app:liftOnScroll="false">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@id/toolbar"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
tools:menu="@menu/opt_reader_top" />
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar_bottom"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
tools:menu="@menu/opt_reader_bottom">
|
|
|
|
<com.google.android.material.slider.Slider
|
|
android:id="@+id/slider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:stepSize="1"
|
|
android:valueFrom="0"
|
|
app:labelBehavior="floating"
|
|
app:tickVisible="false" />
|
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<org.koitharu.kotatsu.reader.ui.ReaderToastView
|
|
android:id="@+id/toastView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
android:layout_marginBottom="20dp"
|
|
android:background="@drawable/bg_reader_indicator"
|
|
android:drawablePadding="6dp"
|
|
android:singleLine="true"
|
|
android:textAppearance="?attr/textAppearanceBodySmall"
|
|
android:theme="@style/ThemeOverlay.Material3.Dark"
|
|
app:layout_dodgeInsetEdges="bottom"
|
|
tools:text="@string/loading_" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layout_loading"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView_loading"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/loading_"
|
|
android:textAppearance="?attr/textAppearanceBody2" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|