summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-07-30 07:29:31 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-07-30 07:29:31 +0000
commit7269dcd95f5776b13c9c6f6ee7a8f81613f306d8 (patch)
tree46cbb01f890cb2d0f91f23a1258d94bd4798ab9f
parent31044ef3b49a48955dbdcca658e9b56348357a47 (diff)
parent6e3242873c14e66fa6a0f3eed4dfa3ce7357165c (diff)
downloadplatform_packages_apps_DocumentsUI-oreo-dr3-release.tar.gz
platform_packages_apps_DocumentsUI-oreo-dr3-release.tar.bz2
platform_packages_apps_DocumentsUI-oreo-dr3-release.zip
Change-Id: Ibca671d52074dcba0e6f9c8683bdb727c5443dec
-rw-r--r--res/drawable/ic_advanced_shortcut.xml29
-rw-r--r--res/drawable/ic_folder_shortcut.xml29
-rw-r--r--res/drawable/ic_folder_white.xml24
-rw-r--r--res/drawable/ic_smartphone_white.xml24
-rw-r--r--res/drawable/ic_usb_shortcut.xml29
-rw-r--r--res/drawable/ic_usb_white.xml24
6 files changed, 48 insertions, 111 deletions
diff --git a/res/drawable/ic_advanced_shortcut.xml b/res/drawable/ic_advanced_shortcut.xml
index b27cfaac1..677e5f962 100644
--- a/res/drawable/ic_advanced_shortcut.xml
+++ b/res/drawable/ic_advanced_shortcut.xml
@@ -15,16 +15,19 @@
~ limitations under the License.
-->
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item>
- <shape android:shape="oval">
- <solid android:color="@color/shortcut_background" />
- </shape>
- </item>
- <item
- android:drawable="@drawable/ic_smartphone_white"
- android:top="16dp"
- android:right="16dp"
- android:bottom="16dp"
- android:left="16dp" />
-</layer-list>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/shortcut_background" />
+ <foreground>
+ <inset android:inset="33%">
+ <vector
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path
+ android:fillColor="@color/shortcut_foreground"
+ android:pathData="M17 1.01L7 1c-1.1 0,-2 .9,-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2,-.9 2,-2V3c0,-1.1,-.9,-1.99,-2,-1.99zM17 19H7V5h10v14z"/>
+ </vector>
+ </inset>
+ </foreground>
+</adaptive-icon>
diff --git a/res/drawable/ic_folder_shortcut.xml b/res/drawable/ic_folder_shortcut.xml
index fee4f01ae..993a56ad3 100644
--- a/res/drawable/ic_folder_shortcut.xml
+++ b/res/drawable/ic_folder_shortcut.xml
@@ -15,16 +15,19 @@
~ limitations under the License.
-->
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item>
- <shape android:shape="oval">
- <solid android:color="@color/shortcut_background" />
- </shape>
- </item>
- <item
- android:drawable="@drawable/ic_folder_white"
- android:top="16dp"
- android:right="16dp"
- android:bottom="16dp"
- android:left="16dp" />
-</layer-list>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/shortcut_background" />
+ <foreground>
+ <inset android:inset="33%">
+ <vector
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path
+ android:fillColor="@color/shortcut_foreground"
+ android:pathData="M10 4H4c-1.1 0,-1.99.9,-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2,-.9 2,-2V8c0,-1.1,-.9,-2,-2,-2h-8l-2,-2z"/>
+ </vector>
+ </inset>
+ </foreground>
+</adaptive-icon>
diff --git a/res/drawable/ic_folder_white.xml b/res/drawable/ic_folder_white.xml
deleted file mode 100644
index 566065a84..000000000
--- a/res/drawable/ic_folder_white.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
-Copyright (C) 2015 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.
--->
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="24dp"
- android:height="24dp"
- android:viewportWidth="24.0"
- android:viewportHeight="24.0">
- <path
- android:fillColor="#FFFFFFFF"
- android:pathData="M10 4H4c-1.1 0,-1.99.9,-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2,-.9 2,-2V8c0,-1.1,-.9,-2,-2,-2h-8l-2,-2z"/>
-</vector>
diff --git a/res/drawable/ic_smartphone_white.xml b/res/drawable/ic_smartphone_white.xml
deleted file mode 100644
index 5ff2349e6..000000000
--- a/res/drawable/ic_smartphone_white.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
-Copyright (C) 2015 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.
--->
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="24dp"
- android:height="24dp"
- android:viewportWidth="24.0"
- android:viewportHeight="24.0">
- <path
- android:fillColor="#FFFFFFFF"
- android:pathData="M17 1.01L7 1c-1.1 0,-2 .9,-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2,-.9 2,-2V3c0,-1.1,-.9,-1.99,-2,-1.99zM17 19H7V5h10v14z"/>
-</vector>
diff --git a/res/drawable/ic_usb_shortcut.xml b/res/drawable/ic_usb_shortcut.xml
index a0331fc27..55f5ed26f 100644
--- a/res/drawable/ic_usb_shortcut.xml
+++ b/res/drawable/ic_usb_shortcut.xml
@@ -15,16 +15,19 @@
~ limitations under the License.
-->
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item>
- <shape android:shape="oval">
- <solid android:color="@color/shortcut_background" />
- </shape>
- </item>
- <item
- android:drawable="@drawable/ic_usb_white"
- android:top="16dp"
- android:right="16dp"
- android:bottom="16dp"
- android:left="16dp" />
-</layer-list>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@color/shortcut_background" />
+ <foreground>
+ <inset android:inset="33%">
+ <vector
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path
+ android:fillColor="@color/ic_shorcut_foreground"
+ android:pathData="M15 7v4h1v2h-3V5h2l-3,-4,-3 4h2v8H8v-2.07c.7,-.37 1.2,-1.08 1.2,-1.93 0,-1.21,-.99,-2.2,-2.2,-2.2,-1.21 0,-2.2.99,-2.2 2.2 0 .85.5 1.56 1.2 1.93V13c0 1.11.89 2 2 2h3v3.05c-.71.37,-1.2 1.1,-1.2 1.95 0 1.22.99 2.2 2.2 2.2 1.21 0 2.2,-.98 2.2,-2.2 0,-.85,-.49,-1.58,-1.2,-1.95V15h3c1.11 0 2,-.89 2,-2v-2h1V7h-4z"/>
+ </vector>
+ </inset>
+ </foreground>
+</adaptive-icon>
diff --git a/res/drawable/ic_usb_white.xml b/res/drawable/ic_usb_white.xml
deleted file mode 100644
index 5098b9f3c..000000000
--- a/res/drawable/ic_usb_white.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
-Copyright (C) 2015 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.
--->
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="24dp"
- android:height="24dp"
- android:viewportWidth="24.0"
- android:viewportHeight="24.0">
- <path
- android:fillColor="#FFFFFFFF"
- android:pathData="M15 7v4h1v2h-3V5h2l-3,-4,-3 4h2v8H8v-2.07c.7,-.37 1.2,-1.08 1.2,-1.93 0,-1.21,-.99,-2.2,-2.2,-2.2,-1.21 0,-2.2.99,-2.2 2.2 0 .85.5 1.56 1.2 1.93V13c0 1.11.89 2 2 2h3v3.05c-.71.37,-1.2 1.1,-1.2 1.95 0 1.22.99 2.2 2.2 2.2 1.21 0 2.2,-.98 2.2,-2.2 0,-.85,-.49,-1.58,-1.2,-1.95V15h3c1.11 0 2,-.89 2,-2v-2h1V7h-4z"/>
-</vector>