Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bf69616 authored by Jesse Chan's avatar Jesse Chan
Browse files

Settings: support black theme for dark mode [2/4]



Change-Id: I12451c0b72f73b08b885e8103bbe3e74a0c4e19f
Signed-off-by: default avatarJesse Chan <jc@lineageos.org>
parent 44c1904d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -159,4 +159,8 @@
    <string name="update_recovery_summary">Update the built-in recovery with system updates</string>
    <string name="update_recovery_on_warning">NOTICE: When this feature is enabled, your installed recovery will be replaced by one included with the current version of the running OS.\n\nYour recovery will be updated along with upgrades to your system, helping to ensure compatibility with future versions.\n\nWould you like to enable this feature?</string>
    <string name="update_recovery_off_warning">WARNING: When this feature is disabled, your installed recovery will not be updated with OS upgrades.\n\nFuture OS updates may not install with outdated or custom recovery versions.\n\nDo you really want to disable this feature?</string>

    <!-- Black theme for dark mode -->
    <string name="berry_black_theme_title">Pure black</string>
    <string name="berry_black_theme_summary">Pure black background for dark theme</string>
</resources>
+7 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

<PreferenceScreen
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:lineage="http://schemas.android.com/apk/res/lineageos.platform"
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:title="@string/dark_ui_mode"
    android:key="dark_ui_mode_screen"
@@ -39,6 +40,12 @@
        settings:controller="com.android.settings.display.darkmode.DarkModeActivationPreferenceController"
        settings:keywords="@string/keywords_dark_ui_mode"/>

    <lineageos.preference.LineageSystemSettingSwitchPreference
        android:key="berry_black_theme"
        android:title="@string/berry_black_theme_title"
        android:summary="@string/berry_black_theme_summary"
        android:defaultValue="false" />

    <com.android.settingslib.widget.FooterPreference
            android:key="dark_ui_footer"
            android:title="@string/dark_ui_text"