Cherish[SQUASH]:Clear all button styles[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -774,4 +774,10 @@
|
||||
<!-- Black theme -->
|
||||
<string name="system_black_theme_title">Use black theme</string>
|
||||
<string name="system_black_theme_summary">Force black background colors</string>
|
||||
|
||||
<!-- OOS style material dismiss all button for notifications -->
|
||||
<string name="notification_material_dismiss_button_title">Clear all notification button</string>
|
||||
<string name="notification_material_dismiss_button_summary">Replace clear all notification text with floating button</string>
|
||||
<string name="clearall_style_title">Clear all notification button style</string>
|
||||
<string name="clearall_bgstyle_title">Clear all notification button background</string>
|
||||
</resources>
|
||||
|
||||
@@ -36,6 +36,33 @@
|
||||
android:summary="@string/system_black_theme_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/notification_material_dismiss_button_title">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="notification_material_dismiss"
|
||||
android:title="@string/notification_material_dismiss_button_title"
|
||||
android:summary="@string/notification_material_dismiss_button_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
||||
android:key="notification_material_dismiss_style"
|
||||
android:title="@string/clearall_style_title"
|
||||
android:dependency="notification_material_dismiss"
|
||||
android:defaultValue="0"
|
||||
android:max="9"
|
||||
android:min="0" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
||||
android:key="notification_material_dismiss_bgstyle"
|
||||
android:title="@string/clearall_bgstyle_title"
|
||||
android:dependency="notification_material_dismiss"
|
||||
android:defaultValue="0"
|
||||
android:max="2"
|
||||
android:min="0" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
||||
Reference in New Issue
Block a user