Cherish: Make 'R style' notification headers toggleable [2/2]
This commit is contained in:
4
res/drawable/ic_notification_center.xml
Normal file
4
res/drawable/ic_notification_center.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<vector android:height="24dp" android:viewportHeight="80"
|
||||
android:viewportWidth="80" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="?android:attr/colorControlNormal" android:pathData="M59.5,10C53.7129,10 49,14.7129 49,20.5C49,26.2871 53.7129,31 59.5,31C65.2871,31 70,26.2871 70,20.5C70,14.7129 65.2871,10 59.5,10zM59.5,12C64.2063,12 68,15.7937 68,20.5C68,25.2063 64.2063,29 59.5,29C54.7937,29 51,25.2063 51,20.5C51,15.7937 54.7937,12 59.5,12zM14,14C11.8027,14 10,15.8027 10,18L10,66C10,68.1973 11.8027,70 14,70L62,70C64.1973,70 66,68.1973 66,66L66,36L66,35L66,32.3242C65.364,32.6752 64.693,32.9669 64,33.2129L64,35L64,36L64,66C64,67.1167 63.1167,68 62,68L14,68C12.8833,68 12,67.1167 12,66L12,18C12,16.8833 12.8833,16 14,16L45,16L46.7871,16C47.0331,15.307 47.3248,14.636 47.6758,14L45,14L14,14zM18,21A1,1 0,0 0,17 22A1,1 0,0 0,18 23A1,1 0,0 0,19 22A1,1 0,0 0,18 21zM22,21A1,1 0,0 0,21 22A1,1 0,0 0,22 23A1,1 0,0 0,23 22A1,1 0,0 0,22 21zM26,21A1,1 0,0 0,25 22A1,1 0,0 0,26 23A1,1 0,0 0,27 22A1,1 0,0 0,26 21zM30,21A1,1 0,0 0,29 22A1,1 0,0 0,30 23A1,1 0,0 0,31 22A1,1 0,0 0,30 21zM34,21A1,1 0,0 0,33 22A1,1 0,0 0,34 23A1,1 0,0 0,35 22A1,1 0,0 0,34 21zM38,21A1,1 0,0 0,37 22A1,1 0,0 0,38 23A1,1 0,0 0,39 22A1,1 0,0 0,38 21zM42,21A1,1 0,0 0,41 22A1,1 0,0 0,42 23A1,1 0,0 0,43 22A1,1 0,0 0,42 21zM46,21A1,1 0,0 0,45 22A1,1 0,0 0,46 23A1,1 0,0 0,47 22A1,1 0,0 0,46 21zM18,25A1,1 0,0 0,17 26A1,1 0,0 0,18 27A1,1 0,0 0,19 26A1,1 0,0 0,18 25zM18,29A1,1 0,0 0,17 30A1,1 0,0 0,18 31A1,1 0,0 0,19 30A1,1 0,0 0,18 29zM18,33A1,1 0,0 0,17 34A1,1 0,0 0,18 35A1,1 0,0 0,19 34A1,1 0,0 0,18 33zM58,33A1,1 0,0 0,57 34A1,1 0,0 0,58 35A1,1 0,0 0,59 34A1,1 0,0 0,58 33zM18,37A1,1 0,0 0,17 38A1,1 0,0 0,18 39A1,1 0,0 0,19 38A1,1 0,0 0,18 37zM58,37A1,1 0,0 0,57 38A1,1 0,0 0,58 39A1,1 0,0 0,59 38A1,1 0,0 0,58 37zM18,41A1,1 0,0 0,17 42A1,1 0,0 0,18 43A1,1 0,0 0,19 42A1,1 0,0 0,18 41zM58,41A1,1 0,0 0,57 42A1,1 0,0 0,58 43A1,1 0,0 0,59 42A1,1 0,0 0,58 41zM18,45A1,1 0,0 0,17 46A1,1 0,0 0,18 47A1,1 0,0 0,19 46A1,1 0,0 0,18 45zM58,45A1,1 0,0 0,57 46A1,1 0,0 0,58 47A1,1 0,0 0,59 46A1,1 0,0 0,58 45zM18,49A1,1 0,0 0,17 50A1,1 0,0 0,18 51A1,1 0,0 0,19 50A1,1 0,0 0,18 49zM58,49A1,1 0,0 0,57 50A1,1 0,0 0,58 51A1,1 0,0 0,59 50A1,1 0,0 0,58 49zM18,53A1,1 0,0 0,17 54A1,1 0,0 0,18 55A1,1 0,0 0,19 54A1,1 0,0 0,18 53zM58,53A1,1 0,0 0,57 54A1,1 0,0 0,58 55A1,1 0,0 0,59 54A1,1 0,0 0,58 53zM18,57A1,1 0,0 0,17 58A1,1 0,0 0,18 59A1,1 0,0 0,19 58A1,1 0,0 0,18 57zM58,57A1,1 0,0 0,57 58A1,1 0,0 0,58 59A1,1 0,0 0,59 58A1,1 0,0 0,58 57zM18,61A1,1 0,0 0,17 62A1,1 0,0 0,18 63A1,1 0,0 0,19 62A1,1 0,0 0,18 61zM22,61A1,1 0,0 0,21 62A1,1 0,0 0,22 63A1,1 0,0 0,23 62A1,1 0,0 0,22 61zM26,61A1,1 0,0 0,25 62A1,1 0,0 0,26 63A1,1 0,0 0,27 62A1,1 0,0 0,26 61zM30,61A1,1 0,0 0,29 62A1,1 0,0 0,30 63A1,1 0,0 0,31 62A1,1 0,0 0,30 61zM34,61A1,1 0,0 0,33 62A1,1 0,0 0,34 63A1,1 0,0 0,35 62A1,1 0,0 0,34 61zM38,61A1,1 0,0 0,37 62A1,1 0,0 0,38 63A1,1 0,0 0,39 62A1,1 0,0 0,38 61zM42,61A1,1 0,0 0,41 62A1,1 0,0 0,42 63A1,1 0,0 0,43 62A1,1 0,0 0,42 61zM46,61A1,1 0,0 0,45 62A1,1 0,0 0,46 63A1,1 0,0 0,47 62A1,1 0,0 0,46 61zM50,61A1,1 0,0 0,49 62A1,1 0,0 0,50 63A1,1 0,0 0,51 62A1,1 0,0 0,50 61zM54,61A1,1 0,0 0,53 62A1,1 0,0 0,54 63A1,1 0,0 0,55 62A1,1 0,0 0,54 61zM58,61A1,1 0,0 0,57 62A1,1 0,0 0,58 63A1,1 0,0 0,59 62A1,1 0,0 0,58 61z"/>
|
||||
</vector>
|
||||
@@ -288,4 +288,7 @@
|
||||
<string name="fod_icon_picker_category_title">Tùy chọn FOD tùy chỉnh</string>
|
||||
<string name="fod_recognizing_animation_title">Nhận dạng hình ảnh động</string>
|
||||
<string name="fod_recognizing_animation_summary">Hiển thị hình ảnh động trong khi đọc dấu vân tay của bạn</string>
|
||||
<!-- R Notification headers -->
|
||||
<string name="notification_headers_title">Hiển thị tiêu đề thông báo</string>
|
||||
<string name="notification_headers_summary">Có hiển thị tiêu đề thông báo kiểu R hay không (Yêu cầu khởi động lại giao diện người dùng hệ thống)</string>
|
||||
</resources>
|
||||
|
||||
@@ -396,4 +396,8 @@
|
||||
<string name="slim_recents_enter_exit_animation_translate">Translate</string>
|
||||
<string name="slim_recents_enter_exit_animation_fade">Fade</string>
|
||||
|
||||
<!-- R Notification headers -->
|
||||
<string name="notification_headers_title">Show notification headers</string>
|
||||
<string name="notification_headers_summary">Whether to show R style notification headers (Requires a SystemUI restart)</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -18,6 +18,13 @@
|
||||
android:title="@string/notifications_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="notification_headers"
|
||||
android:icon="@drawable/ic_notification_center"
|
||||
android:title="@string/notification_headers_title"
|
||||
android:summary="@string/notification_headers_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<Preference
|
||||
android:key="charging_light"
|
||||
android:icon="@drawable/ic_battery_almostfull"
|
||||
|
||||
Reference in New Issue
Block a user