diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-02-02 16:37:21 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-02-06 10:43:27 -0800 |
commit | 96ac68a481ce5b794b5227e09ace7c30d6dd5e7b (patch) | |
tree | 9ea46cdeccfce02fbe0830d7430f9f95c64557b6 /res/drawable-v26 | |
parent | e1fa0145d36fbefeb397f952cba2689ce537d786 (diff) | |
download | android_packages_apps_Trebuchet-96ac68a481ce5b794b5227e09ace7c30d6dd5e7b.tar.gz android_packages_apps_Trebuchet-96ac68a481ce5b794b5227e09ace7c30d6dd5e7b.tar.bz2 android_packages_apps_Trebuchet-96ac68a481ce5b794b5227e09ace7c30d6dd5e7b.zip |
Updating the PreloadIconDrawable
> The drawable gets the path from MaskIconDrawable path, instead of
using a circle
> The progress changes are animated as well
Bug: 34831873
Change-Id: I4e7f0b610f4fd94de8e0cfcf8b179b775cf0b4d8
Diffstat (limited to 'res/drawable-v26')
-rw-r--r-- | res/drawable-v26/mask_drawable_wrapper.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/drawable-v26/mask_drawable_wrapper.xml b/res/drawable-v26/mask_drawable_wrapper.xml new file mode 100644 index 000000000..36efd0f95 --- /dev/null +++ b/res/drawable-v26/mask_drawable_wrapper.xml @@ -0,0 +1,22 @@ +<?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. +--> +<maskable-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:color="#FFE0E0E0"/> + <foreground> + <com.android.launcher3.graphics.FixedScaleDrawable /> + </foreground> +</maskable-icon> |