|
|
@@ -2,181 +2,163 @@
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="16dp">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AccentTextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/manga_footer_config"
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
android:text="@string/manga_header_chapter"
|
|
|
- android:textColor="@color/black"
|
|
|
+ android:textColor="@color/primaryText"
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:layout_marginTop="10dp">
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="8dp">
|
|
|
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cbChapterLabel"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeCheckBox
|
|
|
+ android:id="@+id/cb_chapter_label"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_check_chapter_label"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_check_chapter_label" />
|
|
|
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cbChapter"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeCheckBox
|
|
|
+ android:id="@+id/cb_chapter"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_check_chapter"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_check_chapter" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
android:text="@string/manga_header_page"
|
|
|
- android:textColor="@color/black"
|
|
|
+ android:textColor="@color/primaryText"
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:layout_marginTop="10dp">
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="8dp">
|
|
|
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cbPageNumberLabel"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeCheckBox
|
|
|
+ android:id="@+id/cb_page_number_label"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_check_page_label"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_check_page_label" />
|
|
|
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cbPageNumber"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeCheckBox
|
|
|
+ android:id="@+id/cb_page_number"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_check_page_number"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_check_page_number" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
android:text="@string/manga_header_progress"
|
|
|
- android:textColor="@color/black"
|
|
|
+ android:textColor="@color/primaryText"
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:layout_marginTop="10dp">
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="8dp">
|
|
|
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cbProgressRatioLabel"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeCheckBox
|
|
|
+ android:id="@+id/cb_progress_ratio_label"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_check_progress_label"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_check_progress_label" />
|
|
|
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cbProgressRatio"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeCheckBox
|
|
|
+ android:id="@+id/cb_progress_ratio"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_check_progress"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_check_progress" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
android:text="@string/manga_header_footer"
|
|
|
- android:textColor="@color/black"
|
|
|
+ android:textColor="@color/primaryText"
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<RadioGroup
|
|
|
- android:id="@+id/rgFooterOrientation"
|
|
|
+ android:id="@+id/rg_footer_orientation"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/rbLeft"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeRadioButton
|
|
|
+ android:id="@+id/rb_left"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_radio_left"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_radio_left" />
|
|
|
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/rbCenter"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeRadioButton
|
|
|
+ android:id="@+id/rb_center"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_radio_center"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_radio_center" />
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
- android:id="@+id/rgFooter"
|
|
|
+ android:id="@+id/rg_footer"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/rbDisable"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeRadioButton
|
|
|
+ android:id="@+id/rb_disable"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_radio_disable"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_radio_disable" />
|
|
|
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/rbEnable"
|
|
|
+ <io.legado.app.lib.theme.view.ThemeRadioButton
|
|
|
+ android:id="@+id/rb_enable"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="10dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/manga_radio_enable"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:text="@string/manga_radio_enable" />
|
|
|
</RadioGroup>
|
|
|
|
|
|
|