Skip to content

Commit

Permalink
style: update launcher icon
Browse files Browse the repository at this point in the history
  • Loading branch information
M00NJ committed Nov 11, 2023
1 parent d2a6f36 commit a44d631
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 30 deletions.
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.WallYou"
tools:targetApi="31">
Expand Down
41 changes: 19 additions & 22 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,24 @@
android:height="108dp"
android:viewportWidth="512"
android:viewportHeight="512">
<group android:scaleX="0.50416666"
android:scaleY="0.50416666"
android:translateX="126.933334"
android:translateY="132.90865">
<group>
<clip-path
android:pathData="M51.2,34.13h409.6v409.6h-409.6z"/>
<path
android:pathData="M102.4,341.33C95.29,341.33 90.17,338.2 87.04,331.95C83.91,325.69 84.48,319.72 88.75,314.03L157.01,223.15C160.43,218.6 164.98,216.32 170.67,216.32C176.35,216.32 180.91,218.6 184.32,223.15L247.47,307.2H375.47L290.13,193.71L247.47,250.03L226.13,221.87L276.48,154.88C279.89,150.33 284.44,148.05 290.13,148.05C295.82,148.05 300.37,150.33 303.79,154.88L423.25,314.03C427.52,319.72 428.09,325.69 424.96,331.95C421.83,338.2 416.71,341.33 409.6,341.33H102.4ZM136.53,307.2H204.8L170.67,261.55L136.53,307.2Z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="85.33"
android:startY="153.6"
android:endX="426.67"
android:endY="341.33"
android:type="linear">
<item android:offset="0" android:color="#FF7287FD"/>
<item android:offset="1" android:color="#FF8839EF"/>
</gradient>
</aapt:attr>
</path>
</group>
<group android:scaleX="0.6722222"
android:scaleY="0.6722222"
android:translateX="83.91111"
android:translateY="83.91111">
<path
android:pathData="M382.31,321.95L290.13,199.04L243.15,261.58L223.95,235.98L276.49,166.05C283.32,156.96 296.97,156.96 303.79,166.06L423.27,325.36C431.71,336.61 423.68,352.67 409.62,352.67H102.4C88.34,352.67 80.31,336.61 88.75,325.36L157.01,234.34C163.79,225.3 177.31,225.24 184.18,234.15L247.98,319.22L250.04,321.95H382.31ZM129.71,321.95H211.63L170.67,267.34L129.71,321.95Z"
android:fillType="evenOdd">
<aapt:attr name="android:fillColor">
<gradient
android:startX="85"
android:startY="159"
android:endX="427"
android:endY="353"
android:type="linear">
<item android:offset="0" android:color="#FF7287FD"/>
<item android:offset="1" android:color="#FF8839EF"/>
</gradient>
</aapt:attr>
</path>
</group>
</vector>
15 changes: 15 additions & 0 deletions app/src/main/res/drawable-v24/ic_launcher_monochrome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="512"
android:viewportHeight="512">
<group android:scaleX="0.6722222"
android:scaleY="0.6722222"
android:translateX="83.91111"
android:translateY="83.91111">
<path
android:pathData="M382.31,321.95L290.13,199.04L243.15,261.58L223.95,235.98L276.49,166.05C283.32,156.96 296.97,156.96 303.79,166.06L423.27,325.36C431.71,336.61 423.68,352.67 409.62,352.67H102.4C88.34,352.67 80.31,336.61 88.75,325.36L157.01,234.34C163.79,225.3 177.31,225.24 184.18,234.15L247.98,319.22L250.04,321.95H382.31ZM129.71,321.95H211.63L170.67,267.34L129.71,321.95Z"
android:fillColor="#000000"
android:fillType="evenOdd"/>
</group>
</vector>
2 changes: 1 addition & 1 deletion app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
6 changes: 0 additions & 6 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

This file was deleted.

Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Binary file not shown.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit a44d631

Please sign in to comment.