]> git.ktnx.net Git - mobile-ledger.git/commitdiff
add monochrome app icon, use slightly cleaner app icon
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Jun 2024 18:54:00 +0000 (18:54 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Jun 2024 18:54:18 +0000 (18:54 +0000)
app/src/main/res/drawable-anydpi-v26/app_icon.xml
app/src/main/res/drawable/launcher_foreground.xml
art/app-icon-adaptive.svg [new file with mode: 0644]

index b82ac92d9abc5e9fedea840ca7a250a9194da7fc..cd0b7c71f24a78c1b793383dda73d64cf5769db5 100644 (file)
@@ -19,4 +19,5 @@
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
     <background android:drawable="@color/ic_launcher_background"/>
     <foreground android:drawable="@drawable/launcher_foreground" />
+    <monochrome android:drawable="@drawable/launcher_foreground" />
 </adaptive-icon>
\ No newline at end of file
index af159e2bf0effd213f56ab3e9c22cd3cca0a18aa..b78a67edd0cfc056ca974caeb4df8f9a9115a330 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  ~ Copyright © 2021 Damyan Ivanov.
+  ~ Copyright © 2024 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
     android:viewportHeight="108"
     >
     <group
-        android:scaleX="0.73"
-        android:scaleY="0.73"
-        android:translateX="14.58"
-        android:translateY="14.58"
+        android:scaleX="0.8"
+        android:scaleY="0.8"
+        android:translateX="10.8"
+        android:translateY="10.8"
         >
         <path
-            android:pathData="m42.06,32.596c-1.331,1.331 -1.33,3.49 0.002,4.82 1.331,1.33 3.488,1.329 4.818,-0.002 3.962,-3.962 10.28,-3.962 14.242,0 1.33,1.331 3.487,1.332 4.818,0.002 1.332,-1.33 1.333,-3.488 0.002,-4.82 -7.523,-6.703 -17.464,-6.433 -23.881,0z"
+            android:fillColor="#00000000"
+            android:pathData="m46.42,36.41a10.72,10.72 89.98,0 1,15.16 0"
+            android:strokeWidth="4"
+            android:strokeColor="#ffffff"
+            android:strokeLineCap="round"
             android:strokeLineJoin="round"
-            android:strokeWidth="7.1924"
-            android:fillColor="#ffffff"
-            android:strokeColor="#00000000"
-            android:fillType="nonZero"
-            android:strokeLineCap="round"/>
+            />
         <path
-            android:pathData="m32.531,23.62c-1.33,1.33 -1.33,3.487 0,4.818 1.33,1.33 3.487,1.33 4.818,0 9.225,-9.227 24.078,-9.227 33.304,0 1.33,1.33 3.487,1.33 4.818,0 1.33,-1.33 1.33,-3.487 0,-4.818 -12.952,-12.351 -31.975,-11.302 -42.939,0z"
+            android:fillColor="#00000000"
+            android:pathData="m38.84,29.27a21.44,21.44 89.98,0 1,30.32 0"
+            android:strokeWidth="4"
+            android:strokeColor="#ffffff"
+            android:strokeLineCap="round"
             android:strokeLineJoin="round"
-            android:strokeWidth="7.1924"
-            android:fillColor="#ffffff"
-            android:strokeColor="#00000000"
-            android:fillType="nonZero"
-            android:strokeLineCap="round"/>
+            />
         <path
-            android:pathData="m17.52,41.916c-3.229,0.666 -3.355,3.178 -3.355,3.827L14.165,89.41c0,2.088 1.746,3.837 3.835,3.837 13.048,-2.199 19.956,-2.121 36,0.007C68.79,91.212 79.587,90.998 90,93.247c2.089,0 3.835,-1.749 3.835,-3.837L93.835,45.743c0,-2.094 -1.814,-3.538 -3.636,-3.827 -9.491,-1.502 -13.338,-2.216 -27.678,-0.945 0.484,1.475 0.72,2.785 0.442,4.184 10.721,-1.146 19.131,-0.668 26.469,0.915l-0.045,42.916C77.902,86.92 70.894,86.96 56.213,88.799L56.213,52.774c-1.422,0.348 -3.104,0.332 -4.426,0L51.787,88.799C40.094,86.929 28.873,86.93 18.591,88.987L18.591,46.07c11.035,-1.397 15.892,-2.046 26.444,-0.915 -0.18,-1.441 0.022,-2.978 0.451,-4.184 -9.086,-1.124 -17.014,-0.646 -27.966,0.945z"
+            android:fillColor="#00000000"
+            android:pathData="m61.2,42.96c0,0 6.34,-0.66 9.51,-0.61 4.38,0.07 13.08,1.25 13.08,1.25 0.79,0.07 1.44,0.62 1.44,1.38l0,34.67c0,0.77 -0.64,1.38 -1.44,1.38 0,0 -8.7,-1.24 -13.08,-1.29 -5.59,-0.06 -16.71,1.31 -16.71,1.31 0,0 -10.73,-1.34 -16.13,-1.31 -4.58,0.03 -13.67,1.29 -13.67,1.29 -0.8,0 -1.44,-0.62 -1.44,-1.38L22.77,44.97c0,-0.77 0.64,-1.38 1.44,-1.38 0,0 9.09,-1.2 13.67,-1.25 2.99,-0.03 8.96,0.62 8.96,0.62"
+            android:strokeWidth="3.54"
+            android:strokeColor="#ffffff"
+            android:strokeLineCap="butt"
             android:strokeLineJoin="round"
-            android:strokeWidth="4.42609"
-            android:fillColor="#ffffff"
-            android:strokeColor="#00000000"
-            android:fillType="nonZero"
-            android:strokeLineCap="round"/>
+            />
         <path
-            android:pathData="M32.773,55.429L32.773,65.965L22.238,65.965v5.137h10.534v10.534h5.137L37.91,71.102L48.446,71.102L48.446,65.965L37.91,65.965L37.91,55.429Z"
+            android:fillColor="#00000000"
+            android:fillType="evenOdd"
+            android:pathData="M54,80.11L54,50.74"
+            android:strokeWidth="3.47"
+            android:strokeColor="#ffffff"
+            android:strokeLineCap="butt"
             android:strokeLineJoin="miter"
-            android:strokeWidth="5.42196"
-            android:fillColor="#ffffff"
-            android:strokeColor="#00000000"
+            />
+        <path
+            android:fillColor="#00000000"
             android:fillType="evenOdd"
-            android:strokeLineCap="butt"/>
+            android:pathData="M27.95,63.29L48.79,63.29"
+            android:strokeWidth="3.47"
+            android:strokeColor="#ffffff"
+            android:strokeLineCap="butt"
+            android:strokeLineJoin="miter"
+            />
         <path
-            android:pathData="M59.352,65.965L59.352,71.102L85.559,71.102v-5.137z"
+            android:fillColor="#00000000"
+            android:fillType="evenOdd"
+            android:pathData="M38.37,73.72L38.37,52.87"
+            android:strokeWidth="3.47"
+            android:strokeColor="#ffffff"
+            android:strokeLineCap="butt"
             android:strokeLineJoin="miter"
-            android:strokeWidth="5.42196"
-            android:fillColor="#ffffff"
-            android:strokeColor="#00000000"
+            />
+        <path
+            android:fillColor="#00000000"
             android:fillType="evenOdd"
-            android:strokeLineCap="butt"/>
+            android:pathData="M59.21,63.29L80.05,63.29"
+            android:strokeWidth="3.47"
+            android:strokeColor="#ffffff"
+            android:strokeLineCap="butt"
+            android:strokeLineJoin="miter"
+            />
         <path
-            android:pathData="m54,40.578c1.764,0 3.407,1.645 3.407,3.407 0,1.762 -1.643,3.403 -3.407,3.403 -1.764,0 -3.407,-1.641 -3.407,-3.403 0,-1.762 1.643,-3.407 3.407,-3.407z"
-            android:strokeLineJoin="round"
-            android:strokeWidth="11.5078"
             android:fillColor="#ffffff"
-            android:strokeColor="#00000000"
             android:fillType="nonZero"
-            android:strokeLineCap="round"/>
+            android:pathData="m54,40.84c1.4,0 2.71,1.31 2.71,2.71 0,1.4 -1.31,2.71 -2.71,2.71 -1.4,0 -2.71,-1.31 -2.71,-2.71 0,-1.4 1.31,-2.71 2.71,-2.71z"
+            android:strokeWidth="8.68"
+            android:strokeColor="#00000000"
+            android:strokeLineCap="round"
+            android:strokeLineJoin="round"
+            />
     </group>
 </vector>
diff --git a/art/app-icon-adaptive.svg b/art/app-icon-adaptive.svg
new file mode 100644 (file)
index 0000000..b0f4b05
--- /dev/null
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   sodipodi:docname="app-icon-adaptive.svg"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   id="svg4620"
+   version="1.1"
+   viewBox="0 0 108 108"
+   height="108"
+   width="108"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
+  <title
+     id="title921">MoLe app icon</title>
+  <defs
+     id="defs4614" />
+  <sodipodi:namedview
+     units="px"
+     inkscape:document-rotation="0"
+     inkscape:snap-to-guides="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox="true"
+     inkscape:pagecheckerboard="true"
+     inkscape:window-maximized="0"
+     inkscape:window-y="10"
+     inkscape:window-x="12"
+     inkscape:window-height="1014"
+     inkscape:window-width="1890"
+     showborder="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:guide-bbox="true"
+     showguides="true"
+     inkscape:snap-page="true"
+     showgrid="false"
+     inkscape:current-layer="layer1"
+     inkscape:document-units="px"
+     inkscape:cy="46.080652"
+     inkscape:cx="47.195507"
+     inkscape:zoom="5.3818683"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     borderopacity="1.0"
+     bordercolor="#666666"
+     pagecolor="#ffffff"
+     id="base"
+     inkscape:showpageshadow="0"
+     inkscape:deskcolor="#d1d1d1">
+    <sodipodi:guide
+       inkscape:color="rgb(0,0,255)"
+       inkscape:label=""
+       inkscape:locked="false"
+       id="guide1407"
+       orientation="-1,0"
+       position="21,-37.820936" />
+    <sodipodi:guide
+       inkscape:color="rgb(0,0,255)"
+       inkscape:locked="false"
+       inkscape:label=""
+       id="guide31"
+       orientation="0,1"
+       position="-10.658475,87" />
+    <sodipodi:guide
+       position="-11.893959,21"
+       orientation="0,1"
+       id="guide8469"
+       inkscape:locked="false"
+       inkscape:label=""
+       inkscape:color="rgb(0,134,229)" />
+    <sodipodi:guide
+       position="87,-37.820936"
+       orientation="-1,0"
+       id="guide11759"
+       inkscape:label=""
+       inkscape:locked="false"
+       inkscape:color="rgb(0,0,255)" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata4617">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title>MoLe app icon</dc:title>
+        <cc:license
+           rdf:resource="https://spdx.org/licenses/GPL-3.0-or-later.html" />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Damyan Ivanov &lt;dam+mole@ktnx.net&gt;</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:rights>
+          <cc:Agent>
+            <dc:title>Copyright © 2019 Damyan Ivanov &lt;dam+mole@ktnx.net&gt;. All rights reserved.</dc:title>
+          </cc:Agent>
+        </dc:rights>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="фон"
+     id="layer3"
+     inkscape:groupmode="layer">
+    <rect
+       ry="8.6399994"
+       y="0"
+       x="0"
+       height="108"
+       width="108"
+       id="rect5267"
+       style="opacity:1;fill:#935ff2;fill-opacity:1;stroke:none;stroke-width:7.02;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.0885827;stroke-opacity:1;paint-order:markers stroke fill" />
+  </g>
+  <g
+     style="opacity:1"
+     transform="translate(0,-197)"
+     id="layer1"
+     inkscape:groupmode="layer"
+     inkscape:label="Layer 1">
+    <g
+       transform="matrix(1.7368422,0,0,1.7368422,12.315788,-135.70585)"
+       id="g892">
+      <path
+         style="opacity:1;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:2.30303;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.0885827;stroke-opacity:1"
+         id="path5171"
+         sodipodi:type="arc"
+         sodipodi:cx="24"
+         sodipodi:cy="216.88385"
+         sodipodi:rx="6.1715264"
+         sodipodi:ry="6.1723976"
+         sodipodi:start="3.9269908"
+         sodipodi:end="5.4977871"
+         d="m 19.636072,212.51931 a 6.1715264,6.1723976 0 0 1 8.727856,0"
+         sodipodi:arc-type="arc"
+         sodipodi:open="true" />
+      <path
+         sodipodi:open="true"
+         d="m 15.272143,208.40876 a 12.343053,12.344795 0 0 1 17.455713,0"
+         sodipodi:end="5.4977871"
+         sodipodi:start="3.9269908"
+         sodipodi:ry="12.344795"
+         sodipodi:rx="12.343053"
+         sodipodi:cy="217.13785"
+         sodipodi:cx="24"
+         sodipodi:type="arc"
+         id="path5179"
+         style="opacity:1;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:2.30303;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.0885827;stroke-opacity:1"
+         sodipodi:arc-type="arc" />
+      <path
+         style="opacity:1;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:2.03818;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.0885827;stroke-opacity:1"
+         d="m 28.145643,216.2905 c 0,0 3.647627,-0.38031 5.476763,-0.35202 2.521183,0.039 7.530262,0.71841 7.530262,0.71841 0.456729,0.0418 0.82814,0.35465 0.82814,0.79521 v 19.96076 c 0,0.44055 -0.369351,0.79522 -0.82814,0.79522 0,0 -5.007349,-0.71629 -7.530262,-0.74156 -3.216849,-0.0323 -9.619664,0.75293 -9.619664,0.75293 0,0 -6.180328,-0.7732 -9.286648,-0.75293 -2.635263,0.0172 -7.8687611,0.74156 -7.8687611,0.74156 -0.458791,0 -0.828142,-0.35467 -0.828142,-0.79522 V 217.4521 c 0,-0.44056 0.369351,-0.79521 0.828142,-0.79521 0,0 5.2350911,-0.68943 7.8687611,-0.71841 1.722646,-0.019 5.155938,0.35654 5.155938,0.35654"
+         id="rect5165"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cassssacassssac" />
+      <path
+         style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         d="M 24,237.67988 V 220.77219"
+         id="path5167"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cc" />
+      <path
+         style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         d="M 9,228 H 21"
+         id="path5216"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="cc" />
+      <path
+         sodipodi:nodetypes="cc"
+         inkscape:connector-curvature="0"
+         id="path5218"
+         d="M 15,234 V 222"
+         style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cc"
+         inkscape:connector-curvature="0"
+         id="path5220"
+         d="M 27,228 H 39"
+         style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.0885827;stroke-opacity:1;paint-order:markers stroke fill;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+         d="m 24,215.0707 c 0.807623,0 1.559999,0.75332 1.56,1.56 2e-6,0.80669 -0.752376,1.55829 -1.56,1.55829 -0.807624,0 -1.560002,-0.7516 -1.56,-1.55829 10e-7,-0.80668 0.752377,-1.56 1.56,-1.56 z"
+         id="path5169"
+         inkscape:connector-curvature="0" />
+    </g>
+  </g>
+</svg>