From ff938b92733a30e517bf13bc58b93504115113a6 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Sun, 2 May 2021 23:57:11 +0530 Subject: [PATCH] Cherish:Status bar notification ticker [2/2] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pranav Vashi Signed-off-by: Hưng Phan --- res/values/cherish_arrays.xml | 24 +++++++++++++++++++ res/values/cherish_strings.xml | 24 +++++++++++++++++++ res/xml/cherish_settings_statusbar.xml | 23 ++++++++++++++++++ .../settings/fragments/StatusBarSettings.java | 2 ++ 4 files changed, 73 insertions(+) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index 50d3cd8..0d486e1 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -1220,4 +1220,28 @@ 3 4 + + + + @string/ticker_disabled + @string/ticker_enabled + @string/ticker_media_enabled + + + + 0 + 1 + 2 + + + + + @string/ticker_animation_mode_alpha_fade + @string/ticker_animation_mode_scroll + + + + 0 + 1 + diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index c6967aa..083caa3 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -1130,4 +1130,28 @@ Accent tinted Blur Grayscale and blurred + + + seconds + milliseconds + dp + + + Ticker + Show notifications ticker-style in status bar + Ticker is visible only when notification heads-up is not shown. Devices with center notch should hide cutout under User Interface settings or under Developer options. + Status bar ticker + Enable the status bar ticker + Restore defaults + Text + Icon + Colors + Values restored + No ticker + Notification ticker + Notifications and music ticker + Ticker animation style + Fade + Scroll + Ticker duration diff --git a/res/xml/cherish_settings_statusbar.xml b/res/xml/cherish_settings_statusbar.xml index 9c7e8ce..5390fb7 100644 --- a/res/xml/cherish_settings_statusbar.xml +++ b/res/xml/cherish_settings_statusbar.xml @@ -83,6 +83,29 @@ android:summary="@string/carrier_label_settings_summary" android:fragment="com.cherish.settings.fragments.CustomCarrierLabel" /> + + + + + +