Skip to content

Commit

Permalink
Merge pull request #202 from M00NJ/update-icon
Browse files Browse the repository at this point in the history
style: update launcher icons
  • Loading branch information
M00NJ authored Nov 8, 2023
2 parents f4e3e33 + d20221a commit 7cde91a
Show file tree
Hide file tree
Showing 16 changed files with 61 additions and 38 deletions.
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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.ClockYou"
tools:targetApi="33">
Expand Down
30 changes: 0 additions & 30 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml

This file was deleted.

41 changes: 41 additions & 0 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
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="M271.36,182.61C271.36,174.13 264.48,167.25 256,167.25C247.52,167.25 240.64,174.13 240.64,182.61V255.3C240.64,259.82 242.44,264.16 245.64,267.36L304.87,326.6C310.87,332.59 320.6,332.59 326.6,326.6C332.59,320.6 332.59,310.87 326.59,304.87L271.36,249.64V182.61Z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="85"
android:startY="85"
android:endX="427"
android:endY="427"
android:type="linear">
<item android:offset="0" android:color="#FF7287FD"/>
<item android:offset="1" android:color="#FF8839EF"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M426.67,256C426.67,350.26 350.26,426.67 256,426.67C161.74,426.67 85.33,350.26 85.33,256C85.33,161.74 161.74,85.33 256,85.33C350.26,85.33 426.67,161.74 426.67,256ZM395.95,256C395.95,333.29 333.29,395.95 256,395.95C178.71,395.95 116.05,333.29 116.05,256C116.05,178.71 178.71,116.05 256,116.05C333.29,116.05 395.95,178.71 395.95,256Z"
android:fillType="evenOdd">
<aapt:attr name="android:fillColor">
<gradient
android:startX="85"
android:startY="85"
android:endX="427"
android:endY="427"
android:type="linear">
<item android:offset="0" android:color="#FF7287FD"/>
<item android:offset="1" android:color="#FF8839EF"/>
</gradient>
</aapt:attr>
</path>
</group>
</vector>
19 changes: 19 additions & 0 deletions app/src/main/res/drawable/ic_launcher_monochrome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<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="M271.36,182.61C271.36,174.13 264.48,167.25 256,167.25C247.52,167.25 240.64,174.13 240.64,182.61V255.3C240.64,259.82 242.44,264.16 245.64,267.36L304.87,326.6C310.87,332.59 320.6,332.59 326.6,326.6C332.59,320.6 332.59,310.87 326.59,304.87L271.36,249.64V182.61Z"
android:fillColor="#000000"
android:fillType="evenOdd"/>
<path
android:pathData="M426.67,256C426.67,350.26 350.26,426.67 256,426.67C161.74,426.67 85.33,350.26 85.33,256C85.33,161.74 161.74,85.33 256,85.33C350.26,85.33 426.67,161.74 426.67,256ZM395.95,256C395.95,333.29 333.29,395.95 256,395.95C178.71,395.95 116.05,333.29 116.05,256C116.05,178.71 178.71,116.05 256,116.05C333.29,116.05 395.95,178.71 395.95,256Z"
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 7cde91a

Please sign in to comment.