summaryrefslogtreecommitdiffstats
path: root/res/drawable-v26
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2017-03-03 11:14:05 -0800
committerHyunyoung Song <hyunyoungs@google.com>2017-03-03 12:48:05 -0800
commit837eb1f47d868e22358ba7c12a4771882965be27 (patch)
tree4c192ee31bb8cc6541c46fdc8565d9c1d16d8307 /res/drawable-v26
parent9407d4ab57a0c3500647f1f5f9a9a44b51d222b4 (diff)
downloadandroid_packages_apps_Trebuchet-837eb1f47d868e22358ba7c12a4771882965be27.tar.gz
android_packages_apps_Trebuchet-837eb1f47d868e22358ba7c12a4771882965be27.tar.bz2
android_packages_apps_Trebuchet-837eb1f47d868e22358ba7c12a4771882965be27.zip
Change application launcher icons to adaptive icons
b/35429795 Change-Id: I4fa2fb167040c2470c403a293d1a172c276b2f81
Diffstat (limited to 'res/drawable-v26')
-rw-r--r--res/drawable-v26/adaptive_icon_drawable_wrapper.xml (renamed from res/drawable-v26/mask_drawable_wrapper.xml)4
-rw-r--r--res/drawable-v26/ic_launcher_home.xml21
2 files changed, 23 insertions, 2 deletions
diff --git a/res/drawable-v26/mask_drawable_wrapper.xml b/res/drawable-v26/adaptive_icon_drawable_wrapper.xml
index 36efd0f95..7ad8e2c64 100644
--- a/res/drawable-v26/mask_drawable_wrapper.xml
+++ b/res/drawable-v26/adaptive_icon_drawable_wrapper.xml
@@ -14,9 +14,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<maskable-icon xmlns:android="http://schemas.android.com/apk/res/android">
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:color="#FFE0E0E0"/>
<foreground>
<com.android.launcher3.graphics.FixedScaleDrawable />
</foreground>
-</maskable-icon>
+</adaptive-icon>
diff --git a/res/drawable-v26/ic_launcher_home.xml b/res/drawable-v26/ic_launcher_home.xml
new file mode 100644
index 000000000..7038775f3
--- /dev/null
+++ b/res/drawable-v26/ic_launcher_home.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2017 The Android Open Source 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.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/icon_background" />
+ <foreground>
+ <bitmap android:src="@mipmap/ic_launcher_home_foreground"/>
+ </foreground>
+</adaptive-icon>