Skip to content

Commit 689767a

Browse files
committed
Add themed app icon
1 parent d620977 commit 689767a

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!--
2+
~ This file is part of Grocy Android.
3+
~
4+
~ Grocy Android is free software: you can redistribute it and/or modify
5+
~ it under the terms of the GNU General Public License as published by
6+
~ the Free Software Foundation, either version 3 of the License, or
7+
~ (at your option) any later version.
8+
~
9+
~ Grocy Android is distributed in the hope that it will be useful,
10+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
~ GNU General Public License for more details.
13+
~
14+
~ You should have received a copy of the GNU General Public License
15+
~ along with Grocy Android. If not, see http://www.gnu.org/licenses/.
16+
~
17+
~ Copyright (c) 2020-2022 by Patrick Zedler and Dominic Zedler
18+
-->
19+
20+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
21+
android:width="108dp"
22+
android:height="108dp"
23+
android:viewportWidth="108"
24+
android:viewportHeight="108">
25+
<path
26+
android:fillColor="#FF000000"
27+
android:pathData="M66.83,38.25a4.08,4.08 0,0 0,-4.08 4.08,4.08 4.08,0 0,0 -3.91,2.99 6.42,6.42 0,0 0,-5.42 -2.99,6.42 6.42,0 0,0 -4.9,2.28A8.17,8.17 0,0 0,41.17 40a8.17,8.17 0,0 0,-8.08 7.3H74.9a4.08,4.08 0,0 0,0.1 -0.88,4.08 4.08,0 0,0 -4.08,-4.09 4.08,4.08 0,0 0,-4.09 -4.08z"
28+
android:fillAlpha="0.4"/>
29+
<path
30+
android:fillColor="#FF000000"
31+
android:pathData="M54,33.87v0.01c-5.96,0 -10.8,4.83 -10.8,10.79v0.87L33,45.54c-3.67,0.03 -6.32,3.51 -5.38,7.05l3.96,14.47a12.79,12.79 0,0 0,12.33 9.4h20.18a12.8,12.8 0,0 0,12.32 -9.4l3.97,-14.47c0.95,-3.55 -1.71,-7.03 -5.38,-7.05L64.8,45.54v-0.87c0,-5.97 -4.84,-10.8 -10.8,-10.8zM54,36.79a7.83,7.83 0,0 1,7.88 7.88v0.87L46.12,45.54v-0.87A7.83,7.83 0,0 1,54 36.79zM33,48.46h42c1.8,0 3.04,1.63 2.57,3.36L73.6,66.29a9.85,9.85 0,0 1,-9.51 7.25L43.9,73.54a9.85,9.85 0,0 1,-9.51 -7.25l-3.97,-14.47A2.62,2.62 0,0 1,33 48.46zM48.09,54.85a6.52,6.52 0,0 0,-1.19 0.13c-2.33,0.47 -4.23,2.33 -4.72,4.67 -0.84,3.97 2.18,7.47 5.98,7.47a6.12,6.12 0,0 0,5.77 -4.09l0.21,-0.58h6.56v3.2c0,0.8 0.66,1.46 1.47,1.46 0.8,0 1.47,-0.66 1.47,-1.46L63.63,62.44h0.87c0.8,0 1.47,-0.66 1.47,-1.46 0,-0.8 -0.66,-1.46 -1.47,-1.46L54.15,59.51l-0.21,-0.58a6.13,6.13 0,0 0,-5.85 -4.09zM48.17,57.78a3.21,3.21 0,0 1,3.2 3.2,3.21 3.21,0 0,1 -3.2,3.2 3.21,3.21 0,0 1,-3.2 -3.2,3.21 3.21,0 0,1 3.2,-3.2z"/>
32+
</vector>

app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

+1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
2222
<background android:drawable="@drawable/ic_launcher_background"/>
2323
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
24+
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
2425
</adaptive-icon>

0 commit comments

Comments
 (0)