2015-10-21 00:04:04 +02:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
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"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
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
|
|
|
|
android:id="@+id/reader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/please_wait"
|
|
|
|
style="?android:attr/progressBarStyleLarge"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/page_number"
|
|
|
|
style="@style/TextAppearance.Regular.Caption"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|start"
|
|
|
|
android:background="?android:attr/colorBackground"
|
|
|
|
android:padding="4dp"/>
|
|
|
|
|
2015-10-24 16:04:42 +02:00
|
|
|
</FrameLayout>
|
2015-10-21 00:04:04 +02:00
|
|
|
|
2016-06-27 16:46:31 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/reader_menu"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
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"
|
|
|
|
android:elevation="4dp"
|
|
|
|
android:theme="?attr/actionBarTheme"/>
|
|
|
|
|
|
|
|
<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 14:49:56 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="false"
|
|
|
|
android:descendantFocusability="blocksDescendants">
|
2016-06-27 16:46:31 +02: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"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
app:srcCompat="@drawable/ic_skip_previous_white_24dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/left_page_text"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="15sp"/>
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/page_seekbar"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/right_page_text"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="15sp"/>
|
|
|
|
|
|
|
|
<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"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
app:srcCompat="@drawable/ic_skip_next_white_24dp"/>
|
|
|
|
|
|
|
|
</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"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2016-09-21 21:26:08 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/color_overlay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2015-10-21 00:04:04 +02:00
|
|
|
</FrameLayout>
|