2015-10-21 00:04:04 +02:00
|
|
|
<FrameLayout 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"
|
|
|
|
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"
|
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-03-13 00:14:43 +01:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2016-06-27 16:46:31 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2020-03-14 18:18:34 +01:00
|
|
|
android:background="?attr/colorPrimary" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/reader_menu_bottom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:layout_gravity="bottom"
|
2020-03-14 18:18:34 +01:00
|
|
|
android:background="?attr/colorPrimary"
|
2020-01-12 04:13:46 +01:00
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/left_chapter"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
2020-01-12 04:14:02 +01:00
|
|
|
android:contentDescription="@string/action_previous_chapter"
|
2020-01-12 04:13:46 +01:00
|
|
|
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
|
|
|
app:srcCompat="@drawable/ic_skip_previous_white_24dp" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/left_page_text"
|
|
|
|
android:layout_width="32dp"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:layout_height="match_parent"
|
2016-06-27 16:46:31 +02:00
|
|
|
android:gravity="center"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:textSize="15sp"
|
2020-01-12 04:13:46 +01:00
|
|
|
tools:text="1" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
2020-01-12 04:29:31 +01:00
|
|
|
<!--
|
|
|
|
Wonky way of setting height due to issues with horizontally centering the thumb in Android 5.
|
|
|
|
See https://stackoverflow.com/questions/15701767/android-thumb-is-not-centered-in-seekbar
|
|
|
|
-->
|
2018-09-01 17:12:59 +02:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.ReaderSeekBar
|
2016-06-27 16:46:31 +02:00
|
|
|
android:id="@+id/page_seekbar"
|
|
|
|
android:layout_width="0dp"
|
2020-01-12 04:29:31 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:layout_weight="1"
|
2020-01-12 04:29:31 +01:00
|
|
|
android:maxHeight="?attr/actionBarSize"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:minHeight="?attr/actionBarSize" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/right_page_text"
|
|
|
|
android:layout_width="32dp"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:layout_height="match_parent"
|
2016-06-27 16:46:31 +02:00
|
|
|
android:gravity="center"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:textSize="15sp"
|
2020-01-12 04:13:46 +01:00
|
|
|
tools:text="15" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/right_chapter"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-09-01 17:12:59 +02:00
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
2020-01-12 04:14:02 +01:00
|
|
|
android:contentDescription="@string/action_next_chapter"
|
2020-01-12 04:13:46 +01:00
|
|
|
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
|
|
|
app:srcCompat="@drawable/ic_skip_next_white_24dp" />
|
2016-06-27 16:46:31 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
2015-11-18 21:54:33 +01:00
|
|
|
|
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-07-07 23:18:22 +02:00
|
|
|
|
2018-09-01 17:12:59 +02:00
|
|
|
</FrameLayout>
|