summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2017-04-16 21:32:20 -0700
committerHyunyoung Song <hyunyoungs@google.com>2017-04-16 21:57:58 -0700
commitc1cf75716b21003d334eb3e43a07aecfd0d3a017 (patch)
tree6430c761f617cbeb0dfc0f4a078bee66e2b9697e /res
parent46b3a135280e6a72b6c178f7a6fd57cb056b1e3b (diff)
downloadandroid_packages_apps_Trebuchet-c1cf75716b21003d334eb3e43a07aecfd0d3a017.tar.gz
android_packages_apps_Trebuchet-c1cf75716b21003d334eb3e43a07aecfd0d3a017.tar.bz2
android_packages_apps_Trebuchet-c1cf75716b21003d334eb3e43a07aecfd0d3a017.zip
[DO NOT MERGE] legacy icon treatment / circle detection
Bug: 37357483 Change-Id: I63049ad61ad259f546fcf5077ded0a5f444e4395
Diffstat (limited to 'res')
-rw-r--r--res/drawable-v26/adaptive_icon_drawable_wrapper.xml2
-rw-r--r--res/values/colors.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/res/drawable-v26/adaptive_icon_drawable_wrapper.xml b/res/drawable-v26/adaptive_icon_drawable_wrapper.xml
index 7ad8e2c64..2d78b699f 100644
--- a/res/drawable-v26/adaptive_icon_drawable_wrapper.xml
+++ b/res/drawable-v26/adaptive_icon_drawable_wrapper.xml
@@ -15,7 +15,7 @@
limitations under the License.
-->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <background android:color="#FFE0E0E0"/>
+ <background android:drawable="@color/legacy_icon_background"/>
<foreground>
<com.android.launcher3.graphics.FixedScaleDrawable />
</foreground>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 3ce7baae2..f148cf2a5 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -45,5 +45,6 @@
<!-- System shortcuts -->
<color name="system_shortcuts_icon_color">@android:color/tertiary_text_light</color>
+ <color name="legacy_icon_background">#FFFFFF</color>
<color name="icon_background">#E0E0E0</color> <!-- Gray 300 -->
</resources>