Cherish: Forward-port notification counters [2/2]
Change-Id: Ia491aa89e5d9c82594c16f5c79dbd1bec3039d26 Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
7
res/drawable/ic_count.xml
Normal file
7
res/drawable/ic_count.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="?android:attr/colorControlNormal" android:pathData="M15,15A2,2 0 0,1 13,17H9V15H13V13H11V11H13V9H9V7H13A2,2 0 0,1 15,9V10.5A1.5,1.5 0 0,1 13.5,12A1.5,1.5 0 0,1 15,13.5V15M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />
|
||||
</vector>
|
||||
@@ -1195,4 +1195,8 @@
|
||||
<string name="ambient_pulse_brightness_summary">Set brightness to use when notifcations are shown</string>
|
||||
<string name="ambient_doze_brightness_title">Ambient display brightness</string>
|
||||
<string name="ambient_doze_brightness_summary">Set brightness to use during ambient display on</string>
|
||||
|
||||
<!-- Notification count -->
|
||||
<string name="status_bar_notif_count_title">Show notifications count</string>
|
||||
<string name="status_bar_notif_count_summary">Display the number of pending notifications</string>
|
||||
</resources>
|
||||
|
||||
@@ -68,6 +68,13 @@
|
||||
android:title="@string/roaming_indicator_icon_title"
|
||||
android:summary="@string/roaming_indicator_icon_summary"
|
||||
android:defaultValue="true"/>
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="status_bar_notif_count"
|
||||
android:icon="@drawable/ic_count"
|
||||
android:title="@string/status_bar_notif_count_title"
|
||||
android:summary="@string/status_bar_notif_count_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<Preference
|
||||
android:key="battery_bar_category"
|
||||
|
||||
Reference in New Issue
Block a user