diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2015-06-11 02:39:36 +0200 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-12-10 18:23:11 -0800 |
commit | 68c510802aed593bc7bf0526724538c2ef489780 (patch) | |
tree | 5f1e60c0bde95c8fb908e12ee51a2fdbe189b3af /packages/SystemUI/res/values | |
parent | 699d345030efb8b8d081ea68e000edc19c1a4860 (diff) | |
download | frameworks_base-68c510802aed593bc7bf0526724538c2ef489780.zip frameworks_base-68c510802aed593bc7bf0526724538c2ef489780.tar.gz frameworks_base-68c510802aed593bc7bf0526724538c2ef489780.tar.bz2 |
base: dynamic tiles
Add support for dynamic tiles
Video: https://cloud.ruesga.com/f/71a12e4801/
Required: topic:customtiles_respkg
topic:readd_customtiles
JIRA: CML-22
Change-Id: Ie17ebf09ee88bc0c53561decc27430e174814543
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'packages/SystemUI/res/values')
-rw-r--r-- | packages/SystemUI/res/values/cm_arrays.xml | 20 | ||||
-rw-r--r-- | packages/SystemUI/res/values/cm_strings.xml | 7 |
2 files changed, 27 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/cm_arrays.xml b/packages/SystemUI/res/values/cm_arrays.xml index 9bd31f0..687ab30 100644 --- a/packages/SystemUI/res/values/cm_arrays.xml +++ b/packages/SystemUI/res/values/cm_arrays.xml @@ -54,4 +54,24 @@ <item>@string/accessibility_quick_settings_perf_profile_changed_bias_perf</item> <item>@string/accessibility_quick_settings_perf_profile_changed_perf</item> </string-array> + + <!-- Dynamic tiles --> + <string-array name="dynamic_qs_tiles_labels" translatable="false"> + <item>@string/dynamic_qs_tile_next_alarm_label</item> + <item>@string/dynamic_qs_tile_ime_selector_label</item> + <item>@string/dynamic_qs_tile_su_label</item> + <item>@string/dynamic_qs_tile_adb_label</item> + </string-array> + <string-array name="dynamic_qs_tiles_icons_resources_ids" translatable="false"> + <item>ic_dynamic_qs_next_alarm</item> + <item>ic_dynamic_qs_ime_selector</item> + <item>ic_dynamic_qs_su</item> + <item>ic_dynamic_qs_adb</item> + </string-array> + <string-array name="dynamic_qs_tiles_values" translatable="false"> + <item>next_alarm</item> + <item>ime_selector</item> + <item>su</item> + <item>adb</item> + </string-array> </resources> diff --git a/packages/SystemUI/res/values/cm_strings.xml b/packages/SystemUI/res/values/cm_strings.xml index 03b9a47..03fc080 100644 --- a/packages/SystemUI/res/values/cm_strings.xml +++ b/packages/SystemUI/res/values/cm_strings.xml @@ -153,4 +153,11 @@ <!-- Announcement made when the battery mode tile changes to quick (not shown on the screen). [CHAR LIMIT=NONE] --> <string name="accessibility_quick_settings_perf_profile_changed_bias_perf">Battery mode changed to quick mode.</string> <string name="quick_settings_performance_profile_detail_title">Battery mode</string> + + <!-- Dynamic tiles --> + <string name="quick_settings_dynamic_tile_detail_title">Dynamic tile</string> + <string name="dynamic_qs_tile_next_alarm_label">Next alarm</string> + <string name="dynamic_qs_tile_ime_selector_label">IME selector</string> + <string name="dynamic_qs_tile_su_label">Root</string> + <string name="dynamic_qs_tile_adb_label" translatable="false">ADB</string> </resources> |