|
@@ -1,5 +1,4 @@
|
|
|
<?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"
|
|
|
android:layout_width="match_parent"
|
|
@@ -29,19 +28,19 @@
|
|
|
android:id="@+id/tv_scroll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="28dp"
|
|
|
- android:background="@color/tools_reader_setting_head_bg_color"
|
|
|
+ android:background="?attr/compdfkit_HeadItem_BackgroundColor"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingStart="16dp"
|
|
|
android:paddingEnd="16dp"
|
|
|
android:text="@string/tools_scroll"
|
|
|
- android:textColor="@color/tools_text_color_primary"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<RadioGroup
|
|
|
android:id="@+id/radio_group_scroll_direction"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="@color/tools_color_background"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
>
|
|
|
|
|
|
|
|
@@ -64,12 +63,12 @@
|
|
|
android:id="@+id/tv_reader_mode"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="28dp"
|
|
|
- android:background="@color/tools_reader_setting_head_bg_color"
|
|
|
+ android:background="?attr/compdfkit_HeadItem_BackgroundColor"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingStart="16dp"
|
|
|
android:paddingEnd="16dp"
|
|
|
android:text="@string/tools_display_mode"
|
|
|
- android:textColor="@color/tools_text_color_primary"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
@@ -77,7 +76,8 @@
|
|
|
android:id="@+id/radio_group_reader_mode"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="@color/tools_color_background"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
+
|
|
|
>
|
|
|
|
|
|
|
|
@@ -104,14 +104,14 @@
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="20dp"
|
|
|
- android:background="@color/tools_reader_setting_head_bg_color" />
|
|
|
+ android:background="?attr/compdfkit_HeadItem_BackgroundColor" />
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
style="@style/tools_pdf_reader_setting_item_style"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="50dp"
|
|
|
- android:background="@color/tools_color_background"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
>
|
|
|
|
|
|
|
|
@@ -122,12 +122,12 @@
|
|
|
android:drawablePadding="16dp"
|
|
|
android:text="@string/tools_continuous_scroll"
|
|
|
android:gravity="center_vertical"
|
|
|
- android:textColor="@color/tools_text_color_primary"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <Switch
|
|
|
+ <androidx.appcompat.widget.SwitchCompat
|
|
|
android:id="@+id/sw_is_continue"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -135,7 +135,6 @@
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
-
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
@@ -143,7 +142,7 @@
|
|
|
style="@style/tools_pdf_reader_setting_item_style"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="50dp"
|
|
|
- android:background="@color/tools_color_background"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
>
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
@@ -153,12 +152,12 @@
|
|
|
android:drawablePadding="16dp"
|
|
|
android:text="@string/tools_crop"
|
|
|
android:gravity="center_vertical"
|
|
|
- android:textColor="@color/tools_text_color_primary"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <Switch
|
|
|
+ <androidx.appcompat.widget.SwitchCompat
|
|
|
android:id="@+id/sw_is_crop"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -173,12 +172,12 @@
|
|
|
android:id="@+id/tv_reader_background_color"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="28dp"
|
|
|
- android:background="@color/tools_reader_setting_head_bg_color"
|
|
|
+ android:background="?attr/compdfkit_HeadItem_BackgroundColor"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingStart="16dp"
|
|
|
android:paddingEnd="16dp"
|
|
|
android:text="@string/tools_themes"
|
|
|
- android:textColor="@color/tools_text_color_primary"
|
|
|
+ android:textColor="?android:attr/textColorPrimary"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
@@ -186,7 +185,8 @@
|
|
|
android:id="@+id/radio_group_reader_bg"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="@color/tools_color_background"
|
|
|
+ android:background="?android:attr/colorBackground"
|
|
|
+
|
|
|
>
|
|
|
|
|
|
|