Cherish:Allow hiding notification headers [2/2]

Gimme back my space, thank you

Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
idoybh
2020-11-18 23:39:15 +07:00
committed by Hưng Phan
parent 3563c5f051
commit 162ea20711
2 changed files with 11 additions and 0 deletions

View File

@@ -680,4 +680,8 @@
<string name="status_bar_toggle_brightness">Brightness Control</string>
<string name="status_bar_toggle_brightness_summary">Adjust brightness by sliding finger across the statusbar</string>
<!-- Notification headers -->
<string name="notification_headers_title">Notification Headers</string>
<string name="notification_headers_summary">Show headers in the notification shade\nRequires a SystemUI restart</string>
</resources>

View File

@@ -26,6 +26,13 @@
android:icon="@drawable/ic_plus"
android:fragment="com.cherish.settings.fragments.HeadsUpSettings" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="notification_headers"
android:icon="@drawable/ic_notification"
android:title="@string/notification_headers_title"
android:summary="@string/notification_headers_summary"
android:defaultValue="true" />
<Preference
android:key="notification_light"
android:fragment="com.android.settings.applications.manageapplications.ManageApplications"