Skip to content

Commit

Permalink
Merge pull request #1849 from Aritzherrero4/feat-themed-icon-prod
Browse files Browse the repository at this point in the history
Add themed icon support
  • Loading branch information
ILIYANGERMANOV committed Feb 3, 2023
2 parents 7066403 + 1c3d9e6 commit b620c21
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
21 changes: 21 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,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group
android:scaleX="0.0432"
android:scaleY="0.0432"
android:translateX="10.8"
android:translateY="10.8">
<path
android:pathData="M1573.86,758.34q-3.69,-7.44 -7.56,-14.78A295.67,295.67 0,0 0,1304.83 586H695.17a295.55,295.55 0,0 0,-64.93 7.21l494.06,-165c104.11,-34.77 220.42,-4 300.08,80C1489.45,576.89 1541.41,661.4 1573.86,758.34Z"
android:fillColor="#ff000000"
android:strokeWidth="1"
android:strokeAlpha="0.65"
android:fillAlpha="0.65"/>
<path
android:pathData="M1566.3,743.56A295.67,295.67 0,0 0,1304.83 586L695.17,586A295.67,295.67 0,0 0,433.7 743.56a641.1,641.1 0,0 0,0 596.88A295.67,295.67 0,0 0,695.17 1498h609.66a295.67,295.67 0,0 0,261.47 -157.56,641.1 641.1,0 0,0 0,-596.88ZM1272.36,966.56 L1087.56,1225.56 1085.74,1228.09c-0.37,0.51 -0.76,1 -1.14,1.5 -0.54,0.72 -1.08,1.44 -1.64,2.15l0,0a93.88,93.88 0,0 1,-15 15.12q-1.83,1.47 -3.72,2.87l-0.39,0.29 -0.43,0.32c-0.55,0.41 -1.09,0.82 -1.66,1.21s-1.16,0.8 -1.78,1.15a80.3,80.3 0,0 1,-10 5.78,95.25 95.25,0 0,1 -27,8.93 1.72,1.72 0,0 1,-0.44 0.09A94.27,94.27 0,0 1,1006 1269h-0.36a94.27,94.27 0,0 1,-16.57 -1.42,0.78 0.78,0 0,0 -0.44,-0.09 95.25,95.25 0,0 1,-27 -8.93,80.3 80.3,0 0,1 -10,-5.78c-0.62,-0.35 -1.2,-0.75 -1.77,-1.15l-2,-1.33a94.49,94.49 0,0 1,-24.44 -25.55L739.18,966.6c-0.45,-0.67 -0.94,-1.33 -1.38,-2a94.62,94.62 0,0 1,25.37 -131.41,98.81 98.81,0 0,1 135.94,23.5l106.66,149.49 106.66,-149.49a98.81,98.81 0,0 1,135.94 -23.5c0.67,0.45 1.34,0.89 2,1.33A94.68,94.68 0,0 1,1272.36 966.6ZM853,956.6a55.15,55.15 0,0 0,12.84 -77,57.65 57.65,0 0,0 -79.3,-13.73c-0.4,0.26 -0.76,0.53 -1.16,0.8a55.21,55.21 0,0 0,-12.84 77,57.66 57.66,0 0,0 79.35,13.68C852.19,957.14 852.59,956.87 853,956.6ZM1225.19,866a57.59,57.59 0,0 0,-79.44 13.6c-16.88,23.63 -51.62,117.41 -15.14,189.25a10.16,10.16 0,0 0,3.24 3.77,10.66 10.66,0 0,0 14.88,-2.44l90,-126c0.18,-0.27 0.36,-0.58 0.58,-0.85A55.57,55.57 0,0 0,1225.19 866ZM965.12,1063.18c-36.92,-24.92 -79.74,-44.78 -117.24,-40.61a10.5,10.5 0,0 0,-5 1.83,10.33 10.33,0 0,0 -2.49,14.43l73.21,102.63 45.14,63.26a58,58 0,0 0,79.52 14.35l1.33,-0.94a55.2,55.2 0,0 0,12.84 -77C1043.35,1128.39 1008.26,1092.32 965.12,1063.18Z"
android:fillColor="#ff000000"/>
</group>
</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 b620c21

Please sign in to comment.