2015-11-18 21:54:33 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-11-19 18:56:46 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-11-21 03:37:44 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-11-18 21:54:33 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/reader_menu"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
2015-11-18 21:54:33 +01:00
|
|
|
|
2015-11-21 03:37:44 +01:00
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="@color/reader_menu_background"
|
2016-01-05 13:54:00 +01:00
|
|
|
android:theme="@style/AppTheme.Overlay.Dark"
|
2015-11-30 18:45:45 +01:00
|
|
|
app:popupTheme="@style/AppTheme.Popup"
|
2015-11-21 03:37:44 +01:00
|
|
|
android:elevation="4dp" />
|
2015-11-18 21:54:33 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-11-19 04:58:29 +01:00
|
|
|
android:id="@+id/reader_menu_bottom"
|
2015-11-18 21:54:33 +01:00
|
|
|
android:background="@color/reader_menu_background"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:orientation="vertical"
|
2015-11-18 21:54:33 +01:00
|
|
|
android:layout_alignParentBottom="true">
|
|
|
|
|
2015-11-19 18:56:46 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-11-22 01:35:26 +01:00
|
|
|
android:layout_height="?attr/actionBarSize">
|
2015-11-19 18:56:46 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/current_page"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:textColor="@color/light_grey"
|
2015-11-21 03:37:44 +01:00
|
|
|
android:textSize="15sp"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/page_seeker"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2015-11-30 18:45:45 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2016-01-05 13:54:00 +01:00
|
|
|
android:theme="@style/AppTheme.Overlay.Dark"
|
2015-11-30 18:45:45 +01:00
|
|
|
/>
|
2015-11-19 18:56:46 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/total_pages"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:textColor="@color/light_grey"
|
2015-11-21 03:37:44 +01:00
|
|
|
android:textSize="15sp"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:gravity="center_horizontal" />
|
2015-11-18 21:54:33 +01:00
|
|
|
|
2015-11-19 18:56:46 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View android:background="#777777"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-11-22 01:35:26 +01:00
|
|
|
android:layout_height="?attr/actionBarSize">
|
2015-11-19 18:56:46 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="0dp"
|
2015-11-22 01:35:26 +01:00
|
|
|
android:layout_height="match_parent"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:layout_weight="1"
|
2015-11-22 20:03:48 +01:00
|
|
|
android:id="@+id/reader_brightness"
|
|
|
|
android:src="@drawable/ic_brightness_high"
|
2015-11-21 03:37:44 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:background="?android:selectableItemBackground" />
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="0dp"
|
2015-11-22 01:35:26 +01:00
|
|
|
android:layout_height="match_parent"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:layout_weight="1"
|
2015-11-22 20:03:48 +01:00
|
|
|
android:id="@+id/lock_orientation"
|
|
|
|
android:src="@drawable/ic_screen_rotation"
|
2015-11-21 03:37:44 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:background="?android:selectableItemBackground" />
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="0dp"
|
2015-11-22 01:35:26 +01:00
|
|
|
android:layout_height="match_parent"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:layout_weight="1"
|
2015-11-21 02:27:34 +01:00
|
|
|
android:id="@+id/reader_selector"
|
|
|
|
android:src="@drawable/ic_view_carousel"
|
2015-11-21 03:37:44 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:background="?android:selectableItemBackground" />
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="0dp"
|
2015-11-22 01:35:26 +01:00
|
|
|
android:layout_height="match_parent"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:layout_weight="1"
|
2015-11-21 02:27:34 +01:00
|
|
|
android:id="@+id/reader_extra_settings"
|
|
|
|
android:src="@drawable/ic_more_vert"
|
2015-11-21 03:37:44 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-11-19 18:56:46 +01:00
|
|
|
android:background="?android:selectableItemBackground" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-11-18 21:54:33 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|