|
@@ -0,0 +1,202 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <com.compdfkit.tools.utils.view.CToolBar
|
|
|
+ android:id="@+id/tool_bar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="?android:attr/actionBarSize"
|
|
|
+ android:elevation="4dp"
|
|
|
+ app:tools_toolbar_title="@string/tools_reader_settings" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_reader_mode"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:text="@string/tools_reader_mode"
|
|
|
+ android:textSize="16dp" />
|
|
|
+
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/radio_group_reader_mode"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
+ tools:background="@android:color/white">
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatRadioButton
|
|
|
+ android:id="@+id/r_btn_single_page"
|
|
|
+ style="@style/tools_pdf_reader_mode_radio_button_style"
|
|
|
+ android:text="@string/tools_single_page" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/tools_item_dividing_line_color" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatRadioButton
|
|
|
+ android:id="@+id/r_btn_double_page"
|
|
|
+ style="@style/tools_pdf_reader_mode_radio_button_style"
|
|
|
+ android:text="@string/tools_double_page" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/tools_item_dividing_line_color" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatRadioButton
|
|
|
+ android:id="@+id/r_btn_cover_double_page"
|
|
|
+ style="@style/tools_pdf_reader_mode_radio_button_style"
|
|
|
+ android:text="@string/tools_cover_double_page" />
|
|
|
+
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/tools_item_dividing_line_color" />
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ style="@style/tools_pdf_reader_setting_item_style"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
+ tools:background="@android:color/white">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/tools_is_continue"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
+ android:id="@+id/sw_is_continue"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/tools_item_dividing_line_color" />
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ style="@style/tools_pdf_reader_setting_item_style"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
+ tools:background="@android:color/white">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/tools_is_vertical"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
+ android:id="@+id/sw_is_vertical"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/tools_item_dividing_line_color" />
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ style="@style/tools_pdf_reader_setting_item_style"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
+ tools:background="@android:color/white">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/tools_is_crop"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
+ android:id="@+id/sw_is_crop"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_reader_background_color"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:text="@string/tools_reader_view_background_color"
|
|
|
+ android:textSize="16dp" />
|
|
|
+
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/radio_group_reader_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
+ tools:background="@android:color/white">
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatRadioButton
|
|
|
+ android:id="@+id/r_btn_light_mode"
|
|
|
+ style="@style/tools_pdf_reader_mode_radio_button_style"
|
|
|
+ android:text="@string/tools_light_mode" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/tools_item_dividing_line_color" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatRadioButton
|
|
|
+ android:id="@+id/r_btn_dark_mode"
|
|
|
+ style="@style/tools_pdf_reader_mode_radio_button_style"
|
|
|
+ android:text="@string/tools_dark_mode" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/tools_item_dividing_line_color" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatRadioButton
|
|
|
+ android:id="@+id/r_btn_paper_mode"
|
|
|
+ style="@style/tools_pdf_reader_mode_radio_button_style"
|
|
|
+ android:text="@string/tools_paper_mode" />
|
|
|
+
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+
|
|
|
+</LinearLayout>
|