tachiyomi/app/src/main/res/layout/reader_activity.xml

97 lines
3.2 KiB
XML
Raw Normal View History

<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-06-27 16:46:31 +02:00
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/reader_layout"
2016-06-27 16:46:31 +02:00
android:layout_width="match_parent"
tools:background="@color/color_button_default"
2016-06-27 16:46:31 +02:00
android:layout_height="match_parent"
android:gravity="center">
2015-10-21 00:04:04 +02:00
2020-05-06 00:19:30 +02:00
<FrameLayout
2020-05-06 00:19:30 +02:00
android:id="@+id/viewer_container"
2015-10-21 00:04:04 +02:00
android:layout_width="match_parent"
2020-05-06 00:19:30 +02:00
android:layout_height="match_parent" />
2016-06-27 16:46:31 +02:00
2020-05-06 00:19:30 +02:00
<ProgressBar
android:id="@+id/please_wait"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_gravity="center"
android:visibility="gone"
tools:visibility="visible" />
2016-06-27 16:46:31 +02:00
2020-05-06 00:19:30 +02:00
<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:textStyle="bold" />
2015-10-21 00:04:04 +02:00
<eu.kanade.tachiyomi.ui.reader.ReaderColorFilterView
android:id="@+id/color_overlay"
2016-06-27 16:46:31 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<eu.kanade.tachiyomi.ui.reader.ReaderNavigationOverlayView
android:id="@+id/navigation_overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<FrameLayout
android:id="@+id/reader_menu"
2020-05-04 21:00:00 +02:00
android:layout_width="match_parent"
2020-05-27 03:34:44 +02:00
android:layout_height="match_parent"
android:visibility="gone" >
2016-06-27 16:46:31 +02:00
<FrameLayout
android:id="@+id/app_bar"
2020-05-04 21:00:00 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/secondary_alpha">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@drawable/reader_toolbar_ripple" />
</FrameLayout>
</FrameLayout>
2016-06-27 16:46:31 +02:00
<View
android:id="@+id/touch_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
<FrameLayout
android:id="@+id/nav_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_marginEnd="6dp"
android:paddingBottom="6dp"
app:layout_anchorGravity="top"
android:layout_gravity="top"
app:layout_anchor="@id/chapters_sheet" >
<include layout="@layout/reader_nav"
android:id="@+id/reader_nav" />
</FrameLayout>
<include layout="@layout/reader_chapters_sheet"
android:id="@+id/chapters_sheet"/>
<View
android:id="@+id/brightness_overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>