mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
1) Fixing missing shadow from shortcut icons 2) Chaning all-apps icon rendering to draw background/foreground separately This allows us to reuse the bitmap generated for themed icons, instead of creating a new everytime Bug: 248308987 Test: Verified on device Change-Id: Ia3cbefb21a2ce676d6bb2df3d9375d61b5bed61b
47 lines
1.9 KiB
XML
47 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2022 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="80dp"
|
|
android:height="80dp"
|
|
android:viewportWidth="80"
|
|
android:viewportHeight="80">
|
|
<group
|
|
android:pivotY="40"
|
|
android:pivotX="40"
|
|
android:scaleX=".88"
|
|
android:scaleY=".88">
|
|
<path
|
|
android:pathData="M26.8,32.1m-5.3,0a5.3,5.3 0,1 1,10.6 0a5.3,5.3 0,1 1,-10.6 0"
|
|
android:fillColor="@color/all_apps_button_color_1"/>
|
|
<path
|
|
android:pathData="M26.8,47.9m-5.3,0a5.3,5.3 0,1 1,10.6 0a5.3,5.3 0,1 1,-10.6 0"
|
|
android:fillColor="@color/all_apps_button_color_2"/>
|
|
<path
|
|
android:pathData="M40,32.1m-5.3,0a5.3,5.3 0,1 1,10.6 0a5.3,5.3 0,1 1,-10.6 0"
|
|
android:fillColor="@color/all_apps_button_color_3"/>
|
|
<path
|
|
android:pathData="M40,47.9m-5.3,0a5.3,5.3 0,1 1,10.6 0a5.3,5.3 0,1 1,-10.6 0"
|
|
android:fillColor="@color/all_apps_button_color_2"/>
|
|
<path
|
|
android:pathData="M53.2,32.1m-5.3,0a5.3,5.3 0,1 1,10.6 0a5.3,5.3 0,1 1,-10.6 0"
|
|
android:fillColor="@color/all_apps_button_color_4"/>
|
|
<path
|
|
android:pathData="M53.2,47.9m-5.3,0a5.3,5.3 0,1 1,10.6 0a5.3,5.3 0,1 1,-10.6 0"
|
|
android:fillColor="@color/all_apps_button_color_2"/>
|
|
</group>
|
|
</vector>
|