|
|
@ -42,7 +42,7 @@ |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.PreferenceCategory |
|
|
|
<io.legado.app.ui.widget.prefs.PreferenceCategory |
|
|
|
android:title="白天" |
|
|
|
android:title="@string/day" |
|
|
|
app:layout="@layout/view_preference_category" |
|
|
|
app:layout="@layout/view_preference_category" |
|
|
|
app:allowDividerAbove="true" |
|
|
|
app:allowDividerAbove="true" |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
@ -51,32 +51,32 @@ |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_light_blue_600" |
|
|
|
android:defaultValue="@color/md_light_blue_600" |
|
|
|
android:key="colorPrimary" |
|
|
|
android:key="colorPrimary" |
|
|
|
android:summary="白天,主色调" |
|
|
|
android:summary="@string/day_color_primary" |
|
|
|
android:title="主色调" |
|
|
|
android:title="@string/primary" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_pink_800" |
|
|
|
android:defaultValue="@color/md_pink_800" |
|
|
|
android:key="colorAccent" |
|
|
|
android:key="colorAccent" |
|
|
|
android:summary="白天,强调色" |
|
|
|
android:summary="@string/day_color_accent" |
|
|
|
android:title="强调色" |
|
|
|
android:title="@string/accent" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_grey_100" |
|
|
|
android:defaultValue="@color/md_grey_100" |
|
|
|
android:key="colorBackground" |
|
|
|
android:key="colorBackground" |
|
|
|
android:summary="白天,背景色" |
|
|
|
android:summary="@string/day_background_color" |
|
|
|
android:title="背景色" |
|
|
|
android:title="@string/background_color" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_grey_200" |
|
|
|
android:defaultValue="@color/md_grey_200" |
|
|
|
android:key="colorBottomBackground" |
|
|
|
android:key="colorBottomBackground" |
|
|
|
android:summary="白天,底栏色" |
|
|
|
android:summary="@string/day_navbar_color" |
|
|
|
android:title="底部操作栏颜色" |
|
|
|
android:title="@string/navbar_color" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:allowDividerAbove="false" |
|
|
|
app:allowDividerAbove="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
@ -85,7 +85,7 @@ |
|
|
|
</io.legado.app.ui.widget.prefs.PreferenceCategory> |
|
|
|
</io.legado.app.ui.widget.prefs.PreferenceCategory> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.PreferenceCategory |
|
|
|
<io.legado.app.ui.widget.prefs.PreferenceCategory |
|
|
|
android:title="夜间" |
|
|
|
android:title="@string/night" |
|
|
|
app:layout="@layout/view_preference_category" |
|
|
|
app:layout="@layout/view_preference_category" |
|
|
|
app:allowDividerAbove="true" |
|
|
|
app:allowDividerAbove="true" |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
@ -94,32 +94,32 @@ |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_grey_900" |
|
|
|
android:defaultValue="@color/md_grey_900" |
|
|
|
android:key="colorPrimaryNight" |
|
|
|
android:key="colorPrimaryNight" |
|
|
|
android:summary="夜间,主色调" |
|
|
|
android:summary="@string/night_primary" |
|
|
|
android:title="主色调" |
|
|
|
android:title="@string/primary" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_deep_orange_800" |
|
|
|
android:defaultValue="@color/md_deep_orange_800" |
|
|
|
android:key="colorAccentNight" |
|
|
|
android:key="colorAccentNight" |
|
|
|
android:summary="夜间,强调色" |
|
|
|
android:summary="@string/night_accent" |
|
|
|
android:title="强调色" |
|
|
|
android:title="@string/accent" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_black_1000" |
|
|
|
android:defaultValue="@color/md_black_1000" |
|
|
|
android:key="colorBackgroundNight" |
|
|
|
android:key="colorBackgroundNight" |
|
|
|
android:summary="夜间,背景色" |
|
|
|
android:summary="@string/night_background_color" |
|
|
|
android:title="背景色" |
|
|
|
android:title="@string/background_color" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_grey_800" |
|
|
|
android:defaultValue="@color/md_grey_800" |
|
|
|
android:key="colorBottomBackgroundNight" |
|
|
|
android:key="colorBottomBackgroundNight" |
|
|
|
android:summary="夜间,底栏色" |
|
|
|
android:summary="@string/night_navbar_color" |
|
|
|
android:title="底部操作栏颜色" |
|
|
|
android:title="@string/navbar_color" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|