|
|
@ -43,85 +43,85 @@ |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.PreferenceCategory |
|
|
|
<io.legado.app.ui.widget.prefs.PreferenceCategory |
|
|
|
android:title="@string/day" |
|
|
|
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" |
|
|
|
app:iconSpaceReserved="false"> |
|
|
|
app:iconSpaceReserved="false"> |
|
|
|
|
|
|
|
|
|
|
|
<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="@string/day_color_primary" |
|
|
|
android:summary="@string/day_color_primary" |
|
|
|
android:title="@string/primary" |
|
|
|
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="@string/day_color_accent" |
|
|
|
android:summary="@string/day_color_accent" |
|
|
|
android:title="@string/accent" |
|
|
|
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="@string/day_background_color" |
|
|
|
android:summary="@string/day_background_color" |
|
|
|
android:title="@string/background_color" |
|
|
|
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="@string/day_navbar_color" |
|
|
|
android:summary="@string/day_navbar_color" |
|
|
|
android:title="@string/navbar_color" |
|
|
|
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" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
</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="@string/night" |
|
|
|
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" |
|
|
|
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_900" |
|
|
|
android:defaultValue="@color/md_grey_900" |
|
|
|
android:key="colorPrimaryNight" |
|
|
|
android:key="colorPrimaryNight" |
|
|
|
android:summary="@string/night_primary" |
|
|
|
android:summary="@string/night_primary" |
|
|
|
android:title="@string/primary" |
|
|
|
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="@string/night_accent" |
|
|
|
android:summary="@string/night_accent" |
|
|
|
android:title="@string/accent" |
|
|
|
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="@string/night_background_color" |
|
|
|
android:summary="@string/night_background_color" |
|
|
|
android:title="@string/background_color" |
|
|
|
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="@string/night_navbar_color" |
|
|
|
android:summary="@string/night_navbar_color" |
|
|
|
android:title="@string/navbar_color" |
|
|
|
android:title="@string/navbar_color" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
</io.legado.app.ui.widget.prefs.PreferenceCategory> |
|
|
|
</io.legado.app.ui.widget.prefs.PreferenceCategory> |
|
|
|
|
|
|
|
|
|
|
|