mihon/app/src/main/res/layout/reader_popup.xml

85 lines
3.1 KiB
XML
Raw Normal View History

2015-11-20 20:27:34 -05:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-03-12 08:22:40 -05:00
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="?attr/colorPrimary"
android:orientation="vertical"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingRight="10dp"
android:paddingTop="5dp">
2015-11-20 20:27:34 -05:00
<LinearLayout
2016-03-12 08:22:40 -05:00
android:id="@+id/image_decoder_container"
android:layout_width="wrap_content"
2016-03-12 08:22:40 -05:00
android:layout_height="wrap_content">
<TextView
android:id="@+id/image_decoder_initial"
android:layout_width="32dp"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="?colorAccent"
2016-03-12 08:22:40 -05:00
style="@style/TextAppearance.Regular.SubHeading"/>
<TextView
android:id="@+id/image_decoder"
2016-03-12 08:22:40 -05:00
android:layout_width="wrap_content"
android:layout_height="36dp"
android:gravity="center"
android:text="@string/pref_image_decoder"
style="@style/TextAppearance.Regular.Body1.Light"/>
</LinearLayout>
2016-03-12 08:22:40 -05:00
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/reader_theme"
android:button="@drawable/reader_background_checkbox"
2016-03-12 08:22:40 -05:00
android:layout_width="wrap_content"
android:layout_height="36dp"
android:gravity="center"
android:text="@string/pref_reader_theme"/>
2016-03-12 08:22:40 -05:00
<android.support.v7.widget.AppCompatCheckBox
2015-11-20 20:27:34 -05:00
android:id="@+id/enable_transitions"
2016-03-12 08:22:40 -05:00
android:layout_width="wrap_content"
android:layout_height="36dp"
android:gravity="center"
2015-11-20 20:27:34 -05:00
android:text="@string/pref_enable_transitions"/>
2016-03-12 08:22:40 -05:00
<android.support.v7.widget.AppCompatCheckBox
2015-11-20 20:27:34 -05:00
android:id="@+id/show_page_number"
2016-03-12 08:22:40 -05:00
android:layout_width="wrap_content"
android:layout_height="36dp"
android:gravity="center"
2015-11-20 20:27:34 -05:00
android:text="@string/pref_show_page_number"/>
2016-03-12 08:22:40 -05:00
<android.support.v7.widget.AppCompatCheckBox
2015-11-20 20:27:34 -05:00
android:id="@+id/hide_status_bar"
2016-03-12 08:22:40 -05:00
android:layout_width="wrap_content"
android:layout_height="36dp"
android:gravity="center"
2015-11-20 20:27:34 -05:00
android:text="@string/pref_hide_status_bar"/>
2016-03-12 08:22:40 -05:00
<android.support.v7.widget.AppCompatCheckBox
2015-11-20 20:27:34 -05:00
android:id="@+id/keep_screen_on"
2016-03-12 08:22:40 -05:00
android:layout_width="wrap_content"
android:layout_height="36dp"
android:gravity="center"
android:text="@string/pref_keep_screen_on"/>
2015-11-20 20:27:34 -05:00
2016-03-12 08:22:40 -05:00
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/custom_brightness"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-03-12 08:22:40 -05:00
android:gravity="center"
android:text="@string/pref_custom_brightness"/>
<SeekBar
2016-03-12 08:22:40 -05:00
android:id="@+id/brightness_seekbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2016-03-12 08:22:40 -05:00
style="@style/TextAppearance.Regular.Body1.Light"/>
2015-11-20 20:27:34 -05:00
</LinearLayout>