Skip to content

Commit

Permalink
Merge pull request #56 from sebastien46/master
Browse files Browse the repository at this point in the history
Themed / Monochrome launcher app icon support
  • Loading branch information
tananaev authored Dec 5, 2023
2 parents ce332eb + b0c7c1a commit f300958
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 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,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#ffffff"
android:pathData="M54.000977 32.024992c-11.208698 0-20.500018 8.472604-21.810942 19.338243H0v5.273533h32.190035c1.310924 10.865629 10.602244 19.33824 21.810942 19.33824 11.208694 0 20.499877-8.472611 21.810941-19.33824H108v-5.273534H75.811918c-1.311064-10.865638-10.602247-19.338242-21.810941-19.338242Zm0 5.906357c8.909639 0 16.06865 7.159007 16.06865 16.068648 0 8.90965-7.159011 16.06865-16.06865 16.06865-8.90964 0-16.06865-7.159-16.06865-16.06865 0-8.909641 7.15901-16.068648 16.06865-16.068648z M32.076752 52.583957c -0.0026 0.0412 -0.0074 0.0818 -0.0098 0.12305 0.0026 -0.0412 0.007 -0.082 0.0098 -0.12305z m43.848448 0c 0.0028 0.0411 0.0072 0.0819 0.0098 0.12305 -0.0024 -0.0412 -0.0071 -0.0819 -0.0098 -0.12305z m-43.858214 2.70904c 0.0024 0.0412 0.0071 0.0819 0.0098 0.12304 -0.0028 -0.0411 -0.0072 -0.0819 -0.0098 -0.12304z m43.867981 0c -0.0024 0.0412 -0.007 0.082 -0.0098 0.12304 0.0028 -0.0412 0.0073 -0.0818 0.0098 -0.12304z"/>


</vector>
1 change: 1 addition & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<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"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
1 change: 1 addition & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<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"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>

0 comments on commit f300958

Please sign in to comment.