200 lines
7.9 KiB
XML
Executable File
200 lines
7.9 KiB
XML
Executable File
<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/reader_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/reader_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/viewer_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/please_wait"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.PageIndicatorTextView
|
|
android:id="@+id/page_number"
|
|
style="@style/TextAppearance.Regular.Caption"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
android:padding="4dp"
|
|
android:textDirection="ltr"
|
|
android:textStyle="bold" />
|
|
|
|
</FrameLayout>
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.ReaderColorFilterView
|
|
android:id="@+id/color_overlay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/reader_menu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:theme="?attr/actionBarTheme"
|
|
android:visibility="invisible"
|
|
tools:visibility="visible">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:animateLayoutChanges="true"
|
|
android:background="?colorPrimary"
|
|
android:elevation="4dp">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorPrimary" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/eh_utils"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<Switch
|
|
android:id="@+id/eh_autoscroll"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="8dp"
|
|
android:text="@string/eh_autoscroll" />
|
|
|
|
<EditText
|
|
android:id="@+id/eh_autoscroll_freq"
|
|
android:layout_width="50dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:ems="10"
|
|
android:inputType="numberDecimal"
|
|
android:maxLength="10" />
|
|
|
|
<Button
|
|
android:id="@+id/eh_autoscroll_help"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="40dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="\?" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/eh_retry_all"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/eh_retry_all" />
|
|
|
|
<Button
|
|
android:id="@+id/eh_retry_all_help"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="40dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="\?" />
|
|
|
|
<Button
|
|
android:id="@+id/eh_boost_page"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/eh_boost_page" />
|
|
|
|
<Button
|
|
android:id="@+id/eh_boost_page_help"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="40dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="\?" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageButton
|
|
android:id="@+id/expand_eh_button"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="0dp"
|
|
app:srcCompat="@drawable/ic_keyboard_arrow_down_white_32dp" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/reader_menu_bottom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/colorPrimary"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<ImageButton
|
|
android:id="@+id/chapters_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
android:contentDescription="@string/action_next_chapter"
|
|
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
|
android:tint="?attr/colorOnPrimary"
|
|
app:srcCompat="@drawable/ic_format_list_numbered_24dp" />
|
|
|
|
<eu.kanade.tachiyomi.ui.reader.ReaderSeekBar
|
|
android:id="@+id/page_seekbar"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:maxHeight="?attr/actionBarSize"
|
|
android:minHeight="?attr/actionBarSize"/>
|
|
|
|
<TextView
|
|
android:id="@+id/page_text"
|
|
android:layout_width="100dp"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:textColor="?attr/colorOnPrimary"
|
|
android:textSize="15sp"
|
|
tools:text="100 / 105" />
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:id="@+id/brightness_overlay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone" />
|
|
|
|
</FrameLayout>
|