OneUI-like settings actionbar [3/3]
todo: add settings observer so you won't need to restart settings app to toggle it Signed-off-by: 00day0 <therandomuser11@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -965,4 +965,7 @@
|
||||
<string name="pulse_ambient_light_duration_summary">Sets the ambient light animation duration</string>
|
||||
<string name="pulse_ambient_light_repeat_count_title">Edge Light Repeat count</string>
|
||||
<string name="pulse_ambient_light_repeat_count_summary">Set max repeat count. 0 for infinite</string>
|
||||
|
||||
<string name="enable_oneui">OneUI</string>
|
||||
<string name="enable_oneui_summary">Show spacer above settings actionbar for easier use with one hand\nNOTE: restart settings app to see effect</string>
|
||||
</resources>
|
||||
|
||||
@@ -28,6 +28,13 @@
|
||||
android:summary="@string/qs_bg_use_new_tint_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="settings_spacer"
|
||||
android:icon="@drawable/ic_settings"
|
||||
android:title="@string/enable_oneui"
|
||||
android:summary="@string/enable_oneui_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
|
||||
android:key="status_bar_custom_header"
|
||||
android:icon="@drawable/ic_header"
|
||||
|
||||
Reference in New Issue
Block a user