Skip to content

Commit

Permalink
Merge pull request #129 from axel358/adaptive_icon
Browse files Browse the repository at this point in the history
Adaptive icon, closes #127
  • Loading branch information
axel358 authored Jan 20, 2024
2 parents 9b4cd4d + 3a3a438 commit 84e1949
Show file tree
Hide file tree
Showing 19 changed files with 33 additions and 0 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.
18 changes: 18 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,18 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="96"
android:viewportHeight="96">
<group android:scaleX="0.55"
android:scaleY="0.55"
android:translateX="21.6"
android:translateY="21.6">
<path
android:pathData="m60.126,55.702q0,-4 -2.834,-6.167 -2.792,-2.167 -10.126,-4.375 -7.334,-2.209 -11.668,-4.917 -8.292,-5.209 -8.292,-13.585 0,-7.334 5.959,-12.084 6.001,-4.75 15.543,-4.75 6.334,0 11.293,2.334 4.959,2.334 7.792,6.667 2.834,4.292 2.834,9.543l-10.501,0q0,-4.75 -3,-7.417 -2.959,-2.709 -8.501,-2.709 -5.167,0 -8.042,2.209 -2.834,2.209 -2.834,6.167 0,3.334 3.084,5.584 3.084,2.209 10.168,4.334 7.084,2.084 11.376,4.792 4.292,2.667 6.292,6.167 2,3.459 2,8.126 0,7.584 -5.834,12.084 -5.792,4.459 -15.751,4.459 -6.584,0 -12.126,-2.417 -5.5,-2.459 -8.584,-6.751 -3.042,-4.292 -3.042,-10.001l10.543,0q0,5.167 3.417,8.001 3.417,2.834 9.793,2.834 5.5,0 8.251,-2.209 2.792,-2.25 2.792,-5.917z"
android:fillColor="#f9f9f9"/>
<path
android:pathData="m38.284,79.73h19.431c1.786,0 3.224,1.438 3.224,3.224 0,1.786 -1.438,3.224 -3.224,3.224L38.284,86.177c-1.786,0 -3.224,-1.438 -3.224,-3.224 0,-1.786 1.438,-3.224 3.224,-3.224z"
android:strokeWidth="0.264583"
android:fillColor="#f9f9f9"/>
</group>
</vector>
6 changes: 6 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?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="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -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="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file added app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher.png
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 removed app/src/main/res/mipmap-xhdpi/ic_launcher.png
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 removed app/src/main/res/mipmap-xxhdpi/ic_launcher.png
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">#0065F2</color>
</resources>

0 comments on commit 84e1949

Please sign in to comment.