2020-08-22 23:26:03 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-12 04:13:46 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-06-27 16:46:31 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-05-25 04:21:54 +02:00
|
|
|
android:id="@+id/reader_layout"
|
2016-06-27 16:46:31 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:gravity="center">
|
2015-10-21 00:04:04 +02:00
|
|
|
|
2015-10-24 16:04:42 +02:00
|
|
|
<FrameLayout
|
2016-06-27 16:46:31 +02:00
|
|
|
android:id="@+id/reader_container"
|
2015-10-21 00:04:04 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-11-18 21:54:33 +01:00
|
|
|
android:layout_height="match_parent">
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
|
<FrameLayout
|
2018-09-01 17:12:59 +02:00
|
|
|
android:id="@+id/viewer_container"
|
2016-06-27 16:46:31 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-01-12 04:13:46 +01:00
|
|
|
android:layout_height="match_parent" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/please_wait"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:layout_width="56dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:visibility="gone"
|
2020-01-12 04:13:46 +01:00
|
|
|
tools:visibility="visible" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
2017-11-18 14:09:28 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.PageIndicatorTextView
|
2016-06-27 16:46:31 +02:00
|
|
|
android:id="@+id/page_number"
|
|
|
|
|
style="@style/TextAppearance.Regular.Caption"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2017-11-18 14:09:28 +01:00
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
|
android:padding="4dp"
|
2020-05-31 17:19:09 +02:00
|
|
|
android:textDirection="ltr"
|
2017-11-20 13:55:50 +01:00
|
|
|
android:textStyle="bold" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
2015-10-24 16:04:42 +02:00
|
|
|
</FrameLayout>
|
2015-10-21 00:04:04 +02:00
|
|
|
|
2020-02-23 06:07:34 +01:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.ReaderColorFilterView
|
|
|
|
|
android:id="@+id/color_overlay"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
2016-06-27 16:46:31 +02:00
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/reader_menu"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:theme="?attr/actionBarTheme"
|
2016-06-27 16:46:31 +02:00
|
|
|
android:visibility="invisible"
|
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
2020-01-06 09:26:31 +01:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2018-06-10 06:50:17 +02:00
|
|
|
android:id="@+id/header"
|
2016-06-27 16:46:31 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-06-10 06:50:17 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:animateLayoutChanges="true"
|
2016-06-27 16:46:31 +02:00
|
|
|
android:background="?colorPrimary"
|
2018-06-10 06:50:17 +02:00
|
|
|
android:elevation="4dp">
|
|
|
|
|
|
2020-04-05 21:40:14 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2018-06-10 06:50:17 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2020-01-06 17:43:11 +01:00
|
|
|
android:background="?attr/colorPrimary" />
|
2018-06-10 06:50:17 +02:00
|
|
|
|
|
|
|
|
<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"
|
2020-04-07 04:45:19 +02:00
|
|
|
android:text="@string/eh_autoscroll" />
|
2018-06-10 06:50:17 +02:00
|
|
|
|
|
|
|
|
<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>
|
2018-06-10 18:15:15 +02:00
|
|
|
|
|
|
|
|
<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"
|
2020-04-07 04:45:19 +02:00
|
|
|
android:text="@string/eh_retry_all" />
|
2018-06-10 18:15:15 +02:00
|
|
|
|
|
|
|
|
<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"
|
2020-04-07 04:45:19 +02:00
|
|
|
android:text="@string/eh_boost_page" />
|
2018-06-10 18:15:15 +02:00
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/eh_boost_page_help"
|
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="\?" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2018-06-10 06:50:17 +02:00
|
|
|
</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" />
|
2020-01-06 09:26:31 +01:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
|
</FrameLayout>
|
2015-11-18 21:54:33 +01:00
|
|
|
|
2020-08-22 23:26:03 +02:00
|
|
|
<include
|
|
|
|
|
android:id="@+id/reader_chapters_sheet"
|
|
|
|
|
layout="@layout/reader_chapters_sheet" />
|
|
|
|
|
|
2016-07-07 23:18:22 +02:00
|
|
|
<View
|
|
|
|
|
android:id="@+id/brightness_overlay"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2020-01-12 04:13:46 +01:00
|
|
|
android:visibility="gone" />
|
2016-09-21 21:26:08 +02:00
|
|
|
|
2020-08-22 23:26:03 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|