2015-10-20 18:04:04 -04:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-06-27 10:46:31 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:gravity="center">
|
2015-10-20 18:04:04 -04:00
|
|
|
|
2015-10-24 10:04:42 -04:00
|
|
|
<FrameLayout
|
2016-06-27 10:46:31 -04:00
|
|
|
android:id="@+id/reader_container"
|
2015-10-20 18:04:04 -04:00
|
|
|
android:layout_width="match_parent"
|
2015-11-18 15:54:33 -05:00
|
|
|
android:layout_height="match_parent">
|
2016-06-27 10:46:31 -04:00
|
|
|
|
|
|
|
<FrameLayout
|
2018-09-01 11:12:59 -04:00
|
|
|
android:id="@+id/viewer_container"
|
2016-06-27 10:46:31 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/please_wait"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
2016-06-27 10:46:31 -04:00
|
|
|
|
2017-11-18 08:09:28 -05:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.PageIndicatorTextView
|
2016-06-27 10:46:31 -04:00
|
|
|
android:id="@+id/page_number"
|
|
|
|
style="@style/TextAppearance.Regular.Caption"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-11-18 08:09:28 -05:00
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:padding="4dp"
|
2017-11-20 07:55:50 -05:00
|
|
|
android:textStyle="bold" />
|
2016-06-27 10:46:31 -04:00
|
|
|
|
2015-10-24 10:04:42 -04:00
|
|
|
</FrameLayout>
|
2015-10-20 18:04:04 -04:00
|
|
|
|
2016-06-27 10:46:31 -04:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/reader_menu"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:theme="?attr/actionBarTheme"
|
2016-06-27 10:46:31 -04:00
|
|
|
android:visibility="invisible"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?colorPrimary"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:elevation="4dp" />
|
2016-06-27 10:46:31 -04:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/reader_menu_bottom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:gravity="center"
|
|
|
|
android:background="?colorPrimary"
|
2016-12-10 08:49:56 -05:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:descendantFocusability="blocksDescendants">
|
2016-06-27 10:46:31 -04:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/left_chapter"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
2016-06-27 10:46:31 -04:00
|
|
|
app:srcCompat="@drawable/ic_skip_previous_white_24dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/left_page_text"
|
|
|
|
android:layout_width="32dp"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:layout_height="match_parent"
|
2016-06-27 10:46:31 -04:00
|
|
|
android:gravity="center"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:textSize="15sp"
|
|
|
|
android:clickable="true"
|
|
|
|
tools:text="1"/>
|
2016-06-27 10:46:31 -04:00
|
|
|
|
2018-09-01 11:12:59 -04:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.ReaderSeekBar
|
2016-06-27 10:46:31 -04:00
|
|
|
android:id="@+id/page_seekbar"
|
|
|
|
android:layout_width="0dp"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
2016-06-27 10:46:31 -04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/right_page_text"
|
|
|
|
android:layout_width="32dp"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:layout_height="match_parent"
|
2016-06-27 10:46:31 -04:00
|
|
|
android:gravity="center"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:textSize="15sp"
|
|
|
|
android:clickable="true"
|
|
|
|
tools:text="15"/>
|
2016-06-27 10:46:31 -04:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/right_chapter"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
2018-09-01 11:12:59 -04:00
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
2016-06-27 10:46:31 -04:00
|
|
|
app:srcCompat="@drawable/ic_skip_next_white_24dp"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
2015-11-18 15:54:33 -05:00
|
|
|
|
2016-07-07 17:18:22 -04:00
|
|
|
<View
|
|
|
|
android:id="@+id/brightness_overlay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2019-04-29 13:32:49 -04:00
|
|
|
<eu.kanade.tachiyomi.ui.reader.ReaderColorFilterView
|
2016-09-21 15:26:08 -04:00
|
|
|
android:id="@+id/color_overlay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-09-01 11:12:59 -04:00
|
|
|
</FrameLayout>
|