Skip to content

Commit

Permalink
Add Themed Icon Support
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien46 authored and torokati44 committed Feb 10, 2025
1 parent 49230cf commit 5a26eca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 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,9 @@
<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="#FF000000"
android:pathData="M50.71,30.55q-0.94,0 -1.82,0.31 -1.15,0.39 -2.2,1.26 -1.93,1.58 -2.28,3.68l-1.15,8.4h0.03v0.21l4.1,0.81h-6.65a7,7 0,0 0,-0.7 0.1q-0.35,0.1 -0.7,0.24 -0.35,0.14 -0.67,0.32 -0.35,0.21 -0.66,0.49 -0.32,0.25 -0.6,0.56a6,6 0,0 0,-0.46 0.6q-0.21,0.31 -0.35,0.63 -0.1,0.31 -0.21,0.67L32.3,77.94h11.38l3.5,-24.85h2.41q0.52,-0.07 1.05,-0.24a4.7,4.7 0,0 0,1.15 -0.53,5.6 5.6,0 0,0 0.73,-0.56 6,6 0,0 0,0.67 -0.7q0.35,-0.35 0.53,-0.84l0.21,-0.74 1.22,-8.61h7.81L61.53,50.99h11.55l1.61,-11.38h-0.04l0.56,-3.99q0.28,-1.72 -0.7,-2.94a12,12 0,0 0,-0.53 -0.56,6 6,0 0,0 -0.38,-0.35 1.6,1.6 0,0 0,-0.31 -0.25q-1.37,-0.98 -3.15,-0.98z"/>
</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 5a26eca

Please sign in to comment.