mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-28 12:57:57 +01:00
Add more settings to the reader
This commit is contained in:
@@ -77,13 +77,15 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/reader_selector"
|
||||
android:src="@drawable/ic_view_carousel"
|
||||
android:background="?android:selectableItemBackground" />
|
||||
<ImageButton
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/reader_selector"
|
||||
android:src="@drawable/ic_view_carousel"
|
||||
android:id="@+id/reader_extra_settings"
|
||||
android:src="@drawable/ic_more_vert"
|
||||
android:background="?android:selectableItemBackground" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
39
app/src/main/res/layout/reader_popup.xml
Normal file
39
app/src/main/res/layout/reader_popup.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#333333"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp">
|
||||
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/enable_transitions"
|
||||
style="@style/grey_text"
|
||||
android:text="@string/pref_enable_transitions"/>
|
||||
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/show_page_number"
|
||||
style="@style/grey_text"
|
||||
android:text="@string/pref_show_page_number"/>
|
||||
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/hide_status_bar"
|
||||
style="@style/grey_text"
|
||||
android:text="@string/pref_hide_status_bar"/>
|
||||
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/keep_screen_on"
|
||||
style="@style/grey_text"
|
||||
android:text="Keep screen on"/>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user