Skip to content

Commit

Permalink
Custom launcher icon
Browse files Browse the repository at this point in the history
  • Loading branch information
giolaq committed Apr 2, 2024
1 parent 88e3e08 commit c577bcf
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 4 deletions.
Binary file added app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 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,23 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1200"
android:viewportHeight="680">
<group android:scaleX="1.55375"
android:scaleY="0.88045835"
android:translateX="-297.72223"
android:translateY="50.427036">
<path
android:pathData="M579.2,333.1m-262.5,0a262.5,262.5 0,1 1,525 0a262.5,262.5 0,1 1,-525 0"
android:fillColor="#232F3E"/>
<path
android:pathData="M652.3,342c5.5,-3.9 5.6,-12 0.1,-16l-98.5,-70.2c-5,-3 -11.5,0.6 -11.5,6.5v141.6c0,5.8 6.3,9.5 11.3,6.6L652.3,342z"
android:fillColor="#FF9900"/>
<path
android:pathData="M499.2,423.3c-1.5,0 -2.6,-0.3 -5,-1.5l-97.4,-67.5c-2.4,-1.3 -4,-2.7 -4.8,-4.3c-0.8,-1.6 -1.3,-3.8 -1.3,-6.8V323c0,-2.9 0.4,-5.2 1.3,-6.8c0.8,-1.6 2.4,-3 4.8,-4.3l97.4,-67.5c2.4,-1.3 3.3,-1.5 4.9,-1.5c2.9,0 5.2,1.6 5.2,5.6v23c0,2.9 -0.5,5.2 -1.4,6.8c-0.9,1.6 -2.5,2.2 -4.7,3.9l-70,50.4l70,50.1c2.3,2 3.8,3 4.7,4.6c0.9,1.6 1.4,3.2 1.4,6.2v24C504.3,421.6 502.1,423.3 499.2,423.3z"
android:fillColor="#FF9900"/>
<path
android:pathData="M654.2,417.6v-24c0,-2.9 0.4,-4.6 1.4,-6.2c0.9,-1.6 2.4,-2.6 4.7,-4.6l70,-50.1l-70,-50.4c-2.2,-1.7 -3.7,-2.4 -4.7,-3.9c-0.9,-1.6 -1.4,-3.8 -1.4,-6.8v-23c0,-4 2.4,-5.6 5.2,-5.6c1.5,0 2.5,0.3 4.9,1.5l97.4,67.5c2.4,1.3 4,2.7 4.8,4.3c0.8,1.6 1.3,3.8 1.3,6.8v20.2c0,2.9 -0.4,5.2 -1.3,6.8c-0.8,1.6 -2.4,3 -4.8,4.3l-97.4,67.5c-2.4,1.3 -3.5,1.5 -5,1.5C656.4,423.3 654.2,421.6 654.2,417.6z"
android:fillColor="#FF9900"/>
</group>
</vector>
4 changes: 2 additions & 2 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +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" />
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
4 changes: 2 additions & 2 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -1,5 +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" />
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file added app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/main/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#222F3D</color>
</resources>

0 comments on commit c577bcf

Please sign in to comment.