diff options
author | Roman Birg <roman@cyngn.com> | 2016-07-08 12:55:09 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-07-08 12:57:26 -0700 |
commit | 68eda0632a2e05b4c53a5ca57209583d8fbe6267 (patch) | |
tree | 8b6e64f67aacf41dfae2b0ca5987e8cebf392fab /packages/SystemUI/res | |
parent | d145bd5d3b6c69c3e1d6e6ad0c259c28972a5cb9 (diff) | |
download | frameworks_base-68eda0632a2e05b4c53a5ca57209583d8fbe6267.zip frameworks_base-68eda0632a2e05b4c53a5ca57209583d8fbe6267.tar.gz frameworks_base-68eda0632a2e05b4c53a5ca57209583d8fbe6267.tar.bz2 |
SystemUI: add themes dynamic tiles icon
Resolves the themes tile having the default android activity icon. Also
resolves other dynamic tiles not being queried properly.
Ticket: OSS NIGHTLIES-2967
Change-Id: I532eeaef417195f3148915b777e7ab175b1089aa
Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r-- | packages/SystemUI/res/drawable/ic_dynamic_qs_themes.xml | 28 | ||||
-rw-r--r-- | packages/SystemUI/res/values/cm_arrays.xml | 3 | ||||
-rw-r--r-- | packages/SystemUI/res/values/cm_strings.xml | 1 |
3 files changed, 32 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/ic_dynamic_qs_themes.xml b/packages/SystemUI/res/drawable/ic_dynamic_qs_themes.xml new file mode 100644 index 0000000..14802e9 --- /dev/null +++ b/packages/SystemUI/res/drawable/ic_dynamic_qs_themes.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2016 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="48dp" + android:height="48dp" + android:viewportWidth="24" + android:viewportHeight="24"> + + <path + android:fillColor="#FFFFFFFF" + android:pathData="M21,5V3h-2v6c0,0.6-0.4,1-1,1s-1-0.4-1-1V3h-2v10c0,0.6-0.4,1-1,1s-1-0.4-1-1V7c0-0.6-0.4-1-1-1s-1,0.4-1,1v4 +c0,0.6-0.4,1-1,1s-1-0.4-1-1V8c0-0.6-0.4-1-1-1S7,7.4,7,8v8c0,0.6-0.4,1-1,1s-1-0.4-1-1V3H3v2H2v4h1v10c0,1.1,0.9,2,2,2h14 +c1.1,0,2-0.9,2-2V9h1V5H21z" /> +</vector>
\ No newline at end of file diff --git a/packages/SystemUI/res/values/cm_arrays.xml b/packages/SystemUI/res/values/cm_arrays.xml index 1b0c2bf..d4be9d5 100644 --- a/packages/SystemUI/res/values/cm_arrays.xml +++ b/packages/SystemUI/res/values/cm_arrays.xml @@ -62,6 +62,7 @@ <item>@string/dynamic_qs_tile_su_label</item> <item>@string/dynamic_qs_tile_adb_label</item> <item>@string/dynamic_qs_tile_live_display_label</item> + <item>@string/dynamic_qs_tile_themes_label</item> </string-array> <string-array name="dynamic_qs_tiles_icons_resources_ids" translatable="false"> <item>ic_dynamic_qs_next_alarm</item> @@ -69,6 +70,7 @@ <item>ic_dynamic_qs_su</item> <item>ic_dynamic_qs_adb</item> <item>ic_dynamic_qs_live_display</item> + <item>ic_dynamic_qs_themes</item> </string-array> <string-array name="dynamic_qs_tiles_values" translatable="false"> <item>next_alarm</item> @@ -76,6 +78,7 @@ <item>su</item> <item>adb</item> <item>live_display</item> + <item>themes</item> </string-array> <array name="dockbatterymeter_bolt_points" translatable="false"> diff --git a/packages/SystemUI/res/values/cm_strings.xml b/packages/SystemUI/res/values/cm_strings.xml index af1e0d2..26eb5fd 100644 --- a/packages/SystemUI/res/values/cm_strings.xml +++ b/packages/SystemUI/res/values/cm_strings.xml @@ -207,6 +207,7 @@ <string name="dynamic_qs_tile_su_label">Root access</string> <string name="dynamic_qs_tile_adb_label" translatable="false">ADB</string> <string name="dynamic_qs_tile_live_display_label" translatable="false">LiveDisplay</string> + <string name="dynamic_qs_tile_themes_label" translatable="false">Themes</string> <string name="quick_settings_title_advanced_location">Tri-state location</string> |