Change Icon for Android app

(cherry picked from commit 74bac4a3eedaa49cdf3d5fde840f147ef561f3f5)
This commit is contained in:
Dat PHAM HOANG
2023-12-04 15:20:16 +07:00
committed by Dat H. Pham
parent 1f39ea1cf3
commit e30053b43c
20 changed files with 110 additions and 49 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 122 KiB

@@ -2,81 +2,66 @@
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="0.14179687"
android:scaleY="0.14179687"
android:translateX="17.7"
android:translateY="17.7">
android:viewportWidth="1024"
android:viewportHeight="1024">
<group android:scaleX="0.6722222"
android:scaleY="0.6722222"
android:translateX="167.82222"
android:translateY="167.82222">
<group>
<clip-path
android:pathData="M0,0h512v512h-512z"/>
android:pathData="M0,0h1024v1024h-1024z"/>
<path
android:pathData="M0,0h512v512h-512z"
android:pathData="M0,0h1024v1024h-1024z"
android:fillColor="#ffffff"/>
<path
android:pathData="M0,0h512v512h-512z">
android:pathData="M0,0h1024v1024h-1024z"
android:fillColor="#ffffff"/>
<path
android:pathData="M0,0h1024v1024h-1024z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="0"
android:startX="256"
android:endY="512"
android:endX="256"
android:startX="1024"
android:startY="597.3"
android:endX="746.8"
android:endY="420.3"
android:type="linear">
<item android:offset="0" android:color="#FF2C942B"/>
<item android:offset="0.582834" android:color="#FFD0CC01"/>
<item android:offset="1" android:color="#FFFEC303"/>
<item android:offset="0.1" android:color="#FFA033FF"/>
<item android:offset="0.6" android:color="#FF0094FF"/>
<item android:offset="1" android:color="#FF1D90FF"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M0,0h512v512h-512z">
android:pathData="M0,0h1024v1024h-1024z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="387.71"
android:startX="2.93253E-6"
android:endY="387.71"
android:endX="504.58"
android:startX="469.3"
android:startY="320"
android:endX="149.3"
android:endY="960"
android:type="linear">
<item android:offset="0" android:color="#00FFCF01"/>
<item android:offset="0.57659" android:color="#FFF05A2B"/>
<item android:offset="1" android:color="#FFE90B00"/>
<item android:offset="0" android:color="#00FFD600"/>
<item android:offset="0.6" android:color="#FFFFC700"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M0,0h512v512h-512z">
android:pathData="M0,0h1024v1024h-1024z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="33.3913"
android:startX="452.638"
android:endY="372.87"
android:endX="153.971"
android:startX="554.7"
android:startY="597.3"
android:endX="917.3"
android:endY="981.3"
android:type="linear">
<item android:offset="0.0103405" android:color="#FF0394F7"/>
<item android:offset="0.177129" android:color="#E00693F3"/>
<item android:offset="0.504933" android:color="#630B92EE"/>
<item android:offset="1" android:color="#00E84232"/>
<item android:offset="0" android:color="#00FF3B30"/>
<item android:offset="0.8" android:color="#FFE73B2D"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M0,0h512v512h-512z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="48.2319"
android:startX="12.9855"
android:endY="302.377"
android:endX="237.449"
android:type="linear">
<item android:offset="0.0291436" android:color="#FF2B9629"/>
<item android:offset="0.449248" android:color="#3F4BBC06"/>
<item android:offset="1" android:color="#000792F7"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M93,226.84C93,212.867 99.451,199.678 110.48,191.099L228.202,99.538C244.552,86.821 267.448,86.821 283.798,99.538L401.52,191.099C412.549,199.678 419,212.867 419,226.84V367.695C419,397.702 394.674,422.028 364.667,422.028H147.333C117.326,422.028 93,397.702 93,367.695V226.84ZM129.222,367.695V222.806L234.946,298.323C247.541,307.319 264.459,307.319 277.054,298.323L382.778,222.806V367.695C382.778,377.697 374.669,385.806 364.667,385.806H147.333C137.331,385.806 129.222,377.697 129.222,367.695ZM201.667,150.362H310.333V177.528H269.583V259.028H242.417V177.528H201.667V150.362Z"
android:pathData="M208.1,371.3C186.5,387.8 173.8,413.4 173.8,440.5V734.4C173.8,792.1 220.5,838.8 278.2,838.8H744.7C802.3,838.8 849,792.1 849,734.4V440.5C849,413.4 836.3,387.8 814.8,371.3L564.1,180.2C533,156.5 489.8,156.5 458.7,180.2L208.1,371.3ZM248.8,434.2V730.4C248.8,749.7 264.4,765.2 283.6,765.2H739.2C758.4,765.2 774,749.7 774,730.4V434.2L551.3,590.2C527.4,606.9 495.5,606.9 471.5,590.2L248.8,434.2Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</group>
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z"/>
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
</vector>
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB