Skip to content

Commit a3ca9d4

Browse files
committed
fix #9: app icon
1 parent 97585e3 commit a3ca9d4

File tree

3 files changed

+45
-46
lines changed

3 files changed

+45
-46
lines changed

Affirmations/.idea/workspace.xml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Affirmations/app/src/main/res/drawable-v24/ic_launcher_foreground.xml

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,34 @@
1616
-->
1717

1818
<vector xmlns:android="http://schemas.android.com/apk/res/android"
19-
xmlns:aapt="http://schemas.android.com/aapt"
2019
android:width="108dp"
2120
android:height="108dp"
2221
android:viewportWidth="108"
2322
android:viewportHeight="108">
24-
<path
25-
android:pathData="M0,0h108v108h-108z">
26-
<aapt:attr name="android:fillColor">
27-
<gradient
28-
android:startY="-1"
29-
android:startX="54"
30-
android:endY="107"
31-
android:endX="54"
32-
android:type="linear">
33-
<item android:offset="0" android:color="#FF1E88E5"/>
34-
<item android:offset="1" android:color="#FF1565C0"/>
35-
</gradient>
36-
</aapt:attr>
37-
</path>
23+
<group android:scaleX="0.75"
24+
android:scaleY="0.75"
25+
android:translateX="13.5"
26+
android:translateY="13.5">
27+
<path
28+
android:pathData="M37.63,52.54a0.28,0.28 0,0 0,0.4 -0.28c-0.06,-0.85 -0.09,-1.71 -0.09,-2.57A39.62,39.62 0,0 1,39.39 39a0.26,0.26 0,0 0,-0.12 -0.31A26,26 0,0 0,29.76 35a0.59,0.59 0,0 0,-0.65 0.37,27.43 27.43,0 0,0 -1.06,14.28 0.33,0.33 0,0 0,0.27 0.25A32.7,32.7 0,0 1,37.63 52.54Z"
29+
android:fillColor="#fff"/>
30+
<path
31+
android:pathData="M70.09,52.55a32.44,32.44 0,0 1,9.33 -2.66,0.33 0.33,0 0,0 0.27,-0.25 27.54,27.54 0,0 0,-1.08 -14.28A0.61,0.61 0,0 0,78 35a26.27,26.27 0,0 0,-9.52 3.74,0.28 0.28,0 0,0 -0.12,0.31 39.64,39.64 0,0 1,1.46 10.66c0,0.86 0,1.72 -0.09,2.58A0.28,0.28 0,0 0,70.09 52.55Z"
32+
android:fillColor="#fff"/>
33+
<path
34+
android:pathData="M54.23,25.12a0.57,0.57 0,0 0,-0.74 0c-6.73,5.51 -10.84,14.72 -10.84,24.57s4.11,19 10.84,24.56a0.57,0.57 0,0 0,0.74 0C61,68.74 65.07,59.53 65.07,49.69S61,30.63 54.23,25.12Z"
35+
android:fillColor="#fff"/>
36+
<path
37+
android:pathData="M38.28,58.16a27.66,27.66 0,0 0,-13.81 -3.82,22.94 22.94,0 0,0 -7.69,1.29 0.57,0.57 0,0 0,-0.38 0.65c1.27,6.89 6.08,13.4 12.94,17.36a27.69,27.69 0,0 0,13.81 3.82h0a23.6,23.6 0,0 0,6 -0.77A35.53,35.53 0,0 1,39 58.73a0.36,0.36 0,0 0,-0.17 -0.23C38.64,58.38 38.47,58.27 38.28,58.16Z"
38+
android:fillColor="#fff"/>
39+
<path
40+
android:pathData="M69.43,58.16c-0.18,0.1 -0.35,0.23 -0.52,0.34a0.37,0.37 0,0 0,-0.17 0.24A35.57,35.57 0,0 1,58.59 76.69a23.48,23.48 0,0 0,6 0.77,27.66 27.66,0 0,0 13.81,-3.82c6.87,-4 11.67,-10.47 12.95,-17.35a0.58,0.58 0,0 0,-0.38 -0.66,23.25 23.25,0 0,0 -7.7,-1.28A27.68,27.68 0,0 0,69.43 58.16Z"
41+
android:fillColor="#fff"/>
42+
<path
43+
android:pathData="M49.123,76.698l0,0a0,0 0,0 1,0 0l0,0A18.31,18.31 75,0 1,24.111 83.399l0,0a0,0 0,0 1,0 0l0,0A18.31,18.31 75,0 1,49.123 76.698Z"
44+
android:fillColor="#00e676"/>
45+
<path
46+
android:pathData="M83.61,83.39h0a18.32,18.32 0,0 0,-25 -6.7h0a18.32,18.32 0,0 0,25 6.7Z"
47+
android:fillColor="#00e676"/>
48+
</group>
3849
</vector>
Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?xml version="1.0" encoding="utf-8"?><!--
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
23
~ Copyright (C) 2020 The Android Open Source Project
34
~
45
~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,35 +16,23 @@
1516
-->
1617

1718
<vector xmlns:android="http://schemas.android.com/apk/res/android"
19+
xmlns:aapt="http://schemas.android.com/aapt"
1820
android:width="108dp"
1921
android:height="108dp"
2022
android:viewportWidth="108"
2123
android:viewportHeight="108">
22-
<group
23-
android:scaleX="0.75"
24-
android:scaleY="0.75"
25-
android:translateX="13.5"
26-
android:translateY="13.5">
27-
<path
28-
android:fillColor="#fff"
29-
android:pathData="M37.63,52.54a0.28,0.28 0,0 0,0.4 -0.28c-0.06,-0.85 -0.09,-1.71 -0.09,-2.57A39.62,39.62 0,0 1,39.39 39a0.26,0.26 0,0 0,-0.12 -0.31A26,26 0,0 0,29.76 35a0.59,0.59 0,0 0,-0.65 0.37,27.43 27.43,0 0,0 -1.06,14.28 0.33,0.33 0,0 0,0.27 0.25A32.7,32.7 0,0 1,37.63 52.54Z" />
30-
<path
31-
android:fillColor="#fff"
32-
android:pathData="M70.09,52.55a32.44,32.44 0,0 1,9.33 -2.66,0.33 0.33,0 0,0 0.27,-0.25 27.54,27.54 0,0 0,-1.08 -14.28A0.61,0.61 0,0 0,78 35a26.27,26.27 0,0 0,-9.52 3.74,0.28 0.28,0 0,0 -0.12,0.31 39.64,39.64 0,0 1,1.46 10.66c0,0.86 0,1.72 -0.09,2.58A0.28,0.28 0,0 0,70.09 52.55Z" />
33-
<path
34-
android:fillColor="#fff"
35-
android:pathData="M54.23,25.12a0.57,0.57 0,0 0,-0.74 0c-6.73,5.51 -10.84,14.72 -10.84,24.57s4.11,19 10.84,24.56a0.57,0.57 0,0 0,0.74 0C61,68.74 65.07,59.53 65.07,49.69S61,30.63 54.23,25.12Z" />
36-
<path
37-
android:fillColor="#fff"
38-
android:pathData="M38.28,58.16a27.66,27.66 0,0 0,-13.81 -3.82,22.94 22.94,0 0,0 -7.69,1.29 0.57,0.57 0,0 0,-0.38 0.65c1.27,6.89 6.08,13.4 12.94,17.36a27.69,27.69 0,0 0,13.81 3.82h0a23.6,23.6 0,0 0,6 -0.77A35.53,35.53 0,0 1,39 58.73a0.36,0.36 0,0 0,-0.17 -0.23C38.64,58.38 38.47,58.27 38.28,58.16Z" />
39-
<path
40-
android:fillColor="#fff"
41-
android:pathData="M69.43,58.16c-0.18,0.1 -0.35,0.23 -0.52,0.34a0.37,0.37 0,0 0,-0.17 0.24A35.57,35.57 0,0 1,58.59 76.69a23.48,23.48 0,0 0,6 0.77,27.66 27.66,0 0,0 13.81,-3.82c6.87,-4 11.67,-10.47 12.95,-17.35a0.58,0.58 0,0 0,-0.38 -0.66,23.25 23.25,0 0,0 -7.7,-1.28A27.68,27.68 0,0 0,69.43 58.16Z" />
42-
<path
43-
android:fillColor="#00e676"
44-
android:pathData="M49.123,76.698l0,0a0,0 0,0 1,0 0l0,0A18.31,18.31 75,0 1,24.111 83.399l0,0a0,0 0,0 1,0 0l0,0A18.31,18.31 75,0 1,49.123 76.698Z" />
45-
<path
46-
android:fillColor="#00e676"
47-
android:pathData="M83.61,83.39h0a18.32,18.32 0,0 0,-25 -6.7h0a18.32,18.32 0,0 0,25 6.7Z" />
48-
</group>
24+
<path
25+
android:pathData="M0,0h108v108h-108z">
26+
<aapt:attr name="android:fillColor">
27+
<gradient
28+
android:startY="-1"
29+
android:startX="54"
30+
android:endY="107"
31+
android:endX="54"
32+
android:type="linear">
33+
<item android:offset="0" android:color="#FF1E88E5"/>
34+
<item android:offset="1" android:color="#FF1565C0"/>
35+
</gradient>
36+
</aapt:attr>
37+
</path>
4938
</vector>

0 commit comments

Comments
 (0)