Cherish:update edge light preferences

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
jhonboy121
2022-12-16 02:46:08 +07:00
committed by Hưng Phan
parent 5df14a0546
commit 8f80cc77e8
5 changed files with 186 additions and 80 deletions

View File

@@ -16,9 +16,7 @@
<com.android.settingslib.widget.TopIntroPreference
android:key="edge_light_intro"
android:title="@string/edge_light_intro_text"
android:selectable="false"
android:persistent="false" />
android:title="@string/edge_light_intro_text" />
<com.cherish.settings.preferences.SystemSettingMainSwitchPreference
android:key="edge_light_enabled"
@@ -46,9 +44,9 @@
android:summary="%s"
android:defaultValue="0" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
<com.cherish.settings.preferences.SystemSettingColorPickerPreference
android:key="edge_light_custom_color"
android:title="@string/edge_light_custom_color_title"
android:defaultValue="0xffffff" />
android:defaultValue="#FFFFFF" />
</PreferenceScreen>

View File

@@ -34,10 +34,10 @@
android:entryValues="@array/torch_power_button_gesture_values" />
<Preference
android:key="edge_light_enabled"
android:title="@string/edge_light_title"
android:summary="@string/edge_light_intro_text"
android:fragment="com.cherish.settings.fragments.EdgeLightSettings" />
android:key="edge_light_enabled"
android:title="@string/edge_light_title"
android:summary="@string/edge_light_intro_text"
android:fragment="com.cherish.settings.lockscreen.EdgeLightSettings"/>
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="power_menu_hide_on_secure"