0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

Modified icon to better fit adaptive icon shapes

This commit is contained in:
ByteHamster 2019-09-17 21:51:00 +02:00 committed by Tim Rae
parent f3b25e1bd1
commit 625be8dd59
16 changed files with 440 additions and 142 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View File

@ -2,46 +2,52 @@
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="282.35294"
android:viewportHeight="282.35294">
<group android:translateX="45.17647"
android:translateY="45.17647">
android:viewportWidth="286.56717"
android:viewportHeight="286.56717">
<group android:translateX="47.28358"
android:translateY="47.28358">
<path
android:pathData="M0,0H192V192H0Z"
android:fillColor="#434748"/>
<path
android:fillColor="#FF000000"
android:pathData="M21.6,110.207l64,0l0,7.133l-64,0z"
android:pathData="M37.831,108.207l30.617,0l0,7.133l-30.617,0z"
android:strokeAlpha="0.7"
android:strokeWidth="0.6916573"
android:fillAlpha="0.7"/>
<path
android:fillColor="#FF000000"
android:pathData="M21.6,137.194l32,0l0,7.133l-32,0z"
android:pathData="M37.831,131.194l19.769,0l0,7.133l-19.769,0z"
android:strokeAlpha="0.7"
android:strokeWidth="0.78600037"
android:fillAlpha="0.7"/>
<path
android:fillColor="#FF000000"
android:pathData="M21.6,162.754l67.2,0l0,7.133l-67.2,0z"
android:pathData="M37.831,152.754l54.969,0l0,7.133l-54.969,0z"
android:strokeAlpha="0.7"
android:strokeWidth="0.90443259"
android:fillAlpha="0.7"/>
<path
android:pathData="M21.6,19.497l111.2,0l0,7.133l-111.2,0z"
android:pathData="M37.831,29.497l106.448,0l0,7.133l-106.448,0z"
android:strokeAlpha="0.6"
android:strokeWidth="0.97839999"
android:fillColor="#ffffff"
android:fillAlpha="0.6"/>
<path
android:pathData="M37.831,50.225l23.609,0l0,7.133l-23.609,0z"
android:strokeAlpha="0.6"
android:strokeWidth="0.81163222"
android:fillColor="#ffffff"
android:fillAlpha="0.6"/>
<path
android:pathData="M73.76,50.225l35.84,0l0,7.133l-35.84,0z"
android:strokeAlpha="0.6"
android:fillColor="#ffffff"
android:fillAlpha="0.6"/>
<path
android:pathData="M21.6,44.225l35.84,0l0,7.133l-35.84,0z"
android:strokeAlpha="0.6"
android:fillColor="#ffffff"
android:fillAlpha="0.6"/>
<path
android:pathData="M69.76,44.225l35.84,0l0,7.133l-35.84,0z"
android:strokeAlpha="0.6"
android:fillColor="#ffffff"
android:fillAlpha="0.6"/>
<path
android:pathData="M21.6,69.786l58.88,0l0,7.133l-58.88,0z"
android:pathData="M37.831,71.786l46.649,0l0,7.133l-46.649,0z"
android:strokeAlpha="0.6"
android:strokeWidth="0.89010155"
android:fillColor="#ffffff"
android:fillAlpha="0.6"/>
<path
@ -49,7 +55,7 @@
android:strokeAlpha="0.1"
android:fillAlpha="0.1">
<aapt:attr name="android:fillColor">
<gradient
<gradient
android:startY="92"
android:startX="22.6"
android:endY="92"
@ -65,7 +71,7 @@
android:strokeAlpha="0.1"
android:fillAlpha="0.1">
<aapt:attr name="android:fillColor">
<gradient
<gradient
android:startY="25.35001"
android:startX="15.8"
android:endY="158.65001"

View File

@ -2,21 +2,21 @@
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="282.35294"
android:viewportHeight="282.35294">
<group android:translateX="45.17647"
android:translateY="45.17647">
android:viewportWidth="286.56717"
android:viewportHeight="286.56717">
<group android:translateX="47.28358"
android:translateY="47.28358">
<path
android:pathData="m108.56,66.943c-0.8,0 -1.68,0.08 -2.48,0.32 -3.36,1.12 -5.04,4.32 -5.84,7.28 -0.8,2.96 -0.96,6.24 -1.04,9.52 -0.08,3.28 -0.16,6.64 -0.4,9.36 -0.24,2.72 -0.96,4.72 -1.36,5.28 -0.4,0.56 -2.16,1.84 -4.64,2.88 -2.48,1.12 -5.6,2.16 -8.72,3.28 -3.12,1.12 -6.16,2.32 -8.8,3.92 -2.56,1.6 -5.12,4.16 -5.12,7.76 0,3.6 2.48,6.08 5.12,7.76 2.64,1.68 5.6,2.8 8.72,4 3.12,1.12 6.24,2.16 8.72,3.28 2.48,1.12 4.24,2.32 4.64,2.88 0.4,0.56 1.04,2.64 1.28,5.36 0.24,2.72 0.32,6 0.4,9.36 0.08,3.28 0.32,6.56 1.04,9.52 0.72,2.96 2.4,6.16 5.76,7.28 3.36,1.12 6.56,-0.48 8.96,-2.48 2.4,-2 4.48,-4.48 6.48,-7.04 2,-2.56 4,-5.28 5.84,-7.28 1.84,-2 3.52,-3.36 4.24,-3.52 0.64,-0.24 2.8,-0.16 5.44,0.4 2.64,0.56 5.84,1.6 8.96,2.48 3.2,0.88 6.32,1.76 9.36,1.92 3.04,0.16 6.56,-0.4 8.72,-3.28 2.08,-2.88 1.6,-6.4 0.48,-9.28 -1.12,-2.88 -2.88,-5.6 -4.72,-8.32 -1.84,-2.72 -3.76,-5.44 -5.12,-7.76 -1.36,-2.32 -2.08,-4.4 -2.08,-5.12 0,-0.8 0.88,-3.2 2.64,-5.92 1.68,-2.72 4,-5.84 6,-8.88 1.6,-2.4 2.96,-4.88 3.84,-7.36 0.8,-2.56 1.04,-5.68 -0.8,-8.24 -2.08,-2.88 -5.6,-3.44 -8.72,-3.28 -3.04,0.16 -6.24,1.04 -9.44,1.92 -3.2,0.88 -6.32,1.92 -8.96,2.48 -2.64,0.56 -4.8,0.56 -5.44,0.4 -0.64,-0.16 -2.4,-1.52 -4.24,-3.52 -1.84,-2.08 -3.76,-4.72 -5.76,-7.36 -2,-2.64 -4.08,-5.12 -6.48,-7.12 -1.84,-1.52 -4.08,-2.8 -6.48,-2.88z"
android:pathData="m112.56,66.943c-0.8,0 -1.68,0.08 -2.48,0.32 -3.36,1.12 -5.04,4.32 -5.84,7.28 -0.8,2.96 -0.96,6.24 -1.04,9.52 -0.08,3.28 -0.16,6.64 -0.4,9.36 -0.24,2.72 -0.96,4.72 -1.36,5.28 -0.4,0.56 -2.16,1.84 -4.64,2.88 -2.48,1.12 -5.6,2.16 -8.72,3.28 -3.12,1.12 -6.16,2.32 -8.8,3.92 -2.56,1.6 -5.12,4.16 -5.12,7.76 0,3.6 2.48,6.08 5.12,7.76 2.64,1.68 5.6,2.8 8.72,4 3.12,1.12 6.24,2.16 8.72,3.28 2.48,1.12 4.24,2.32 4.64,2.88 0.4,0.56 1.04,2.64 1.28,5.36 0.24,2.72 0.32,6 0.4,9.36 0.08,3.28 0.32,6.56 1.04,9.52 0.72,2.96 2.4,6.16 5.76,7.28 3.36,1.12 6.56,-0.48 8.96,-2.48 2.4,-2 4.48,-4.48 6.48,-7.04 2,-2.56 4,-5.28 5.84,-7.28 1.84,-2 3.52,-3.36 4.24,-3.52 0.64,-0.24 2.8,-0.16 5.44,0.4 2.64,0.56 5.84,1.6 8.96,2.48 3.2,0.88 6.32,1.76 9.36,1.92 3.04,0.16 6.56,-0.4 8.72,-3.28 2.08,-2.88 1.6,-6.4 0.48,-9.28 -1.12,-2.88 -2.88,-5.6 -4.72,-8.32 -1.84,-2.72 -3.76,-5.44 -5.12,-7.76 -1.36,-2.32 -2.08,-4.4 -2.08,-5.12 0,-0.8 0.88,-3.2 2.64,-5.92 1.68,-2.72 4,-5.84 6,-8.88 1.6,-2.4 2.96,-4.88 3.84,-7.36 0.8,-2.56 1.04,-5.68 -0.8,-8.24 -2.08,-2.88 -5.6,-3.44 -8.72,-3.28 -3.04,0.16 -6.24,1.04 -9.44,1.92 -3.2,0.88 -6.32,1.92 -8.96,2.48 -2.64,0.56 -4.8,0.56 -5.44,0.4 -0.64,-0.16 -2.4,-1.52 -4.24,-3.52 -1.84,-2.08 -3.76,-4.72 -5.76,-7.36 -2,-2.64 -4.08,-5.12 -6.48,-7.12 -1.84,-1.52 -4.08,-2.8 -6.48,-2.88z"
android:fillColor="#ffffff"/>
<path
android:pathData="m108.16,73.823c0.32,-0.08 0.96,-0.08 2.48,1.2 1.52,1.28 3.44,3.52 5.44,6 1.92,2.48 3.92,5.28 6.08,7.6 2.08,2.4 4.16,4.56 7.2,5.52 3.2,1.04 6.4,0.56 9.12,-0.24 3.12,-0.72 6.32,-1.68 9.36,-2.56 3.04,-0.88 5.92,-1.6 7.92,-1.68 2,-0.16 2.56,0.24 2.72,0.48 0.16,0.24 0.32,0.64 -0.16,2.08 -0.48,1.44 -1.6,3.6 -3.04,5.76 -1.84,2.8 -4.08,5.92 -6,8.96 -1.92,3.04 -3.68,6 -3.68,9.6 0,3.2 1.44,5.84 3.04,8.56 1.6,2.72 3.6,5.52 5.36,8.16 1.76,2.64 3.28,5.12 4.08,7.04 0.72,1.84 0.56,2.48 0.4,2.72 -0.16,0.24 -0.72,0.56 -2.72,0.48 -2,-0.16 -4.88,-0.8 -7.92,-1.68 -3.04,-0.88 -6.32,-1.92 -9.36,-2.64 -3.12,-0.72 -6.08,-1.2 -9.12,-0.24 -3.04,0.96 -5.12,3.12 -7.2,5.52 -2.08,2.4 -4.16,5.12 -6.08,7.6 -1.92,2.48 -3.92,4.72 -5.44,6 -1.52,1.28 -2.16,1.36 -2.48,1.2 -0.32,-0.08 -0.8,-0.48 -1.28,-2.48 -0.48,-2 -0.72,-4.88 -0.8,-8.08 -0.08,-3.2 -0.16,-6.56 -0.4,-9.76 -0.32,-3.2 -0.72,-6.16 -2.56,-8.72 -1.84,-2.56 -4.56,-3.92 -7.44,-5.2 -2.88,-1.28 -6.16,-2.32 -9.12,-3.44 -2.96,-1.12 -5.68,-2.24 -7.44,-3.28 -1.68,-1.12 -1.92,-1.68 -1.92,-2 0,-0.32 0.24,-0.88 1.92,-1.92 1.76,-1.12 4.56,-2.32 7.44,-3.28 2.96,-1.12 6.24,-2.16 9.12,-3.44 2.88,-1.28 5.6,-2.56 7.44,-5.12 1.84,-2.56 2.32,-5.6 2.64,-8.72 0.32,-3.12 0.32,-6.56 0.48,-9.76 0.08,-3.2 0.32,-6.08 0.88,-8.08 0.24,-1.68 0.72,-2.08 1.04,-2.16z">
android:pathData="m112.16,73.823c0.32,-0.08 0.96,-0.08 2.48,1.2 1.52,1.28 3.44,3.52 5.44,6 1.92,2.48 3.92,5.28 6.08,7.6 2.08,2.4 4.16,4.56 7.2,5.52 3.2,1.04 6.4,0.56 9.12,-0.24 3.12,-0.72 6.32,-1.68 9.36,-2.56 3.04,-0.88 5.92,-1.6 7.92,-1.68 2,-0.16 2.56,0.24 2.72,0.48 0.16,0.24 0.32,0.64 -0.16,2.08 -0.48,1.44 -1.6,3.6 -3.04,5.76 -1.84,2.8 -4.08,5.92 -6,8.96 -1.92,3.04 -3.68,6 -3.68,9.6 0,3.2 1.44,5.84 3.04,8.56 1.6,2.72 3.6,5.52 5.36,8.16 1.76,2.64 3.28,5.12 4.08,7.04 0.72,1.84 0.56,2.48 0.4,2.72 -0.16,0.24 -0.72,0.56 -2.72,0.48 -2,-0.16 -4.88,-0.8 -7.92,-1.68 -3.04,-0.88 -6.32,-1.92 -9.36,-2.64 -3.12,-0.72 -6.08,-1.2 -9.12,-0.24 -3.04,0.96 -5.12,3.12 -7.2,5.52 -2.08,2.4 -4.16,5.12 -6.08,7.6 -1.92,2.48 -3.92,4.72 -5.44,6 -1.52,1.28 -2.16,1.36 -2.48,1.2 -0.32,-0.08 -0.8,-0.48 -1.28,-2.48 -0.48,-2 -0.72,-4.88 -0.8,-8.08 -0.08,-3.2 -0.16,-6.56 -0.4,-9.76 -0.32,-3.2 -0.72,-6.16 -2.56,-8.72 -1.84,-2.56 -4.56,-3.92 -7.44,-5.2 -2.88,-1.28 -6.16,-2.32 -9.12,-3.44 -2.96,-1.12 -5.68,-2.24 -7.44,-3.28 -1.68,-1.12 -1.92,-1.68 -1.92,-2 0,-0.32 0.24,-0.88 1.92,-1.92 1.76,-1.12 4.56,-2.32 7.44,-3.28 2.96,-1.12 6.24,-2.16 9.12,-3.44 2.88,-1.28 5.6,-2.56 7.44,-5.12 1.84,-2.56 2.32,-5.6 2.64,-8.72 0.32,-3.12 0.32,-6.56 0.48,-9.76 0.08,-3.2 0.32,-6.08 0.88,-8.08 0.24,-1.68 0.72,-2.08 1.04,-2.16z">
<aapt:attr name="android:fillColor">
<gradient
<gradient
android:startY="98.23438"
android:startX="87.52008"
android:startX="91.52008"
android:endY="140.15863"
android:endX="160.13487"
android:endX="164.13487"
android:type="linear">
<item android:offset="0" android:color="#FF29B6F6"/>
<item android:offset="1" android:color="#FF0288D1"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,33 +1,148 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg x="0px" y="0px" width="192px" height="192px" viewBox="0 0 192 192">
<g id="background">
<path d="M 0,0 H 192 V 192 H 0 Z" id="background_square" style="fill:#434748"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg33"
version="1.1"
viewBox="0 0 192 192"
height="192px"
width="192px"
y="0px"
x="0px">
<metadata
id="metadata39">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs37" />
<g
id="background">
<path
style="fill:#434748"
id="background_square"
d="M 0,0 H 192 V 192 H 0 Z" />
</g>
<g
transform="matrix(1.6,0,0,1.1888545,-31.68,-13.671828)"
id="bottom_text"
style="opacity:0.7">
<rect
style="stroke-width:0.6916573"
id="b_rect1"
height="6"
width="19.135592"
y="102.51771"
x="43.444069" />
<rect
style="stroke-width:0.78600037"
id="b_rect2"
height="6"
width="12.355931"
y="121.85313"
x="43.444069" />
<rect
style="stroke-width:0.90443259"
id="b_rect3"
height="6"
width="34.35593"
y="139.98851"
x="43.444069" />
</g>
<g
transform="matrix(1.6,0,0,1.1888545,-31.68,-13.671828)"
id="top_text"
style="opacity:0.6">
<rect
id="t_rect1"
height="6"
width="66.530022"
y="36.311459"
x="43.444069"
style="fill:#ffffff;stroke-width:0.97839999" />
<rect
id="t_rect2"
height="6"
width="14.755931"
y="53.74688"
x="43.444069"
style="fill:#ffffff;stroke-width:0.81163222" />
<rect
id="t_rect3"
height="6"
width="22.4"
y="53.74688"
x="65.900002"
style="fill:#ffffff" />
<rect
id="t_rect4"
height="6"
width="29.15593"
y="71.882286"
x="43.444069"
style="fill:#ffffff;stroke-width:0.89010155" />
</g>
<g
id="light">
<g
style="opacity:0.1"
id="l_horizontal">
<linearGradient
gradientTransform="matrix(1,0,0,-1,0,192)"
y2="100"
x2="142.3"
y1="100"
x1="22.6"
gradientUnits="userSpaceOnUse"
id="gradient_horizontal">
<stop
id="stop_h_1"
style="stop-color:#FFFFFF"
offset="0" />
<stop
id="stop_h_2"
style="stop-color:#000000;stop-opacity:0"
offset="1" />
</linearGradient>
<path
style="fill:url(#gradient_horizontal)"
d="M 0 0 H 192 V 192 H 0 z"
id="path_horizontal" />
</g>
<g style="opacity:0.7" id="bottom_text" transform="matrix(1.6,0,0,1.1888545,-35.68,-13.671828)">
<rect x="35.799999" y="104.2" width="40" height="6" id="b_rect1"/>
<rect x="35.799999" y="126.9" width="20" height="6" id="b_rect2"/>
<rect x="35.799999" y="148.39999" width="42" height="6" id="b_rect3"/>
</g>
<g style="opacity:0.6" id="top_text" transform="matrix(1.6,0,0,1.1888545,-35.68,-13.671828)">
<rect style="fill:#ffffff" x="35.799999" y="27.9" width="69.5" height="6" id="t_rect1"/>
<rect style="fill:#ffffff" x="35.799999" y="48.700001" width="22.4" height="6" id="t_rect2"/>
<rect style="fill:#ffffff" x="65.900002" y="48.700001" width="22.4" height="6" id="t_rect3"/>
<rect style="fill:#ffffff" x="35.799999" y="70.199997" width="36.799999" height="6" id="t_rect4"/>
</g>
<g id="light">
<g id="l_horizontal" style="opacity:0.1">
<linearGradient id="gradient_horizontal" gradientUnits="userSpaceOnUse" x1="22.6" y1="100" x2="142.3" y2="100" gradientTransform="matrix(1,0,0,-1,0,192)">
<stop offset="0" style="stop-color:#FFFFFF" id="stop_h_1"/>
<stop offset="1" style="stop-color:#000000;stop-opacity:0" id="stop_h_2"/>
</linearGradient>
<path id="path_horizontal" d="M 0 0 H 192 V 192 H 0 z" style="fill:url(#gradient_horizontal)"/>
</g>
<g id="l_diagonal" style="opacity:0.1">
<linearGradient id="gradient_diagonal" gradientUnits="userSpaceOnUse" x1="15.8" y1="166.64999" x2="149.10001" y2="33.349998" gradientTransform="matrix(1,0,0,-1,0,192)">
<stop offset="0" style="stop-color:#FFFFFF" id="stop_d_1"/>
<stop offset="1" style="stop-color:#000000;stop-opacity:0" id="stop_d_2"/>
</linearGradient>
<path id="path_diagonal" d="M 0 0 H 192 V 192 H 0 z" style="fill:url(#gradient_diagonal)"/>
</g>
<g
style="opacity:0.1"
id="l_diagonal">
<linearGradient
gradientTransform="matrix(1,0,0,-1,0,192)"
y2="33.349998"
x2="149.10001"
y1="166.64999"
x1="15.8"
gradientUnits="userSpaceOnUse"
id="gradient_diagonal">
<stop
id="stop_d_1"
style="stop-color:#FFFFFF"
offset="0" />
<stop
id="stop_d_2"
style="stop-color:#000000;stop-opacity:0"
offset="1" />
</linearGradient>
<path
style="fill:url(#gradient_diagonal)"
d="M 0 0 H 192 V 192 H 0 z"
id="path_diagonal" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB