fix(pwa) fix auto-generated TWA icons
After Width: | Height: | Size: 37 KiB |
|
@ -1,33 +1,5 @@
|
||||||
<!--
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
Copyright 2019 Google Inc. All Rights Reserved.
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@color/ic_launcher_background"/>
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
you may not use this file except in compliance with the License.
|
</adaptive-icon>
|
||||||
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"
|
|
||||||
xmlns:aapt="http://schemas.android.com/aapt">
|
|
||||||
<background>
|
|
||||||
<layer-list>
|
|
||||||
<item android:drawable="@android:color/white" />
|
|
||||||
<!--
|
|
||||||
The paddings below give the icons a similar proportion as the
|
|
||||||
icon generated by WebAPKs.
|
|
||||||
-->
|
|
||||||
<item android:drawable="@mipmap/ic_maskable"
|
|
||||||
android:top="8.5dp"
|
|
||||||
android:right="8.5dp"
|
|
||||||
android:left="8.5dp"
|
|
||||||
android:bottom="8.5dp" />
|
|
||||||
</layer-list>
|
|
||||||
</background>
|
|
||||||
<foreground android:drawable="@android:color/transparent" />
|
|
||||||
</adaptive-icon>
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@color/ic_launcher_background"/>
|
||||||
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
|
</adaptive-icon>
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 18 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="ic_launcher_background">#66A8DD</color>
|
||||||
|
</resources>
|