SchildiChat icon

This commit is contained in:
SpiritCroc 2020-07-18 15:03:15 +02:00
parent 969f3202de
commit 3ab88153c0
39 changed files with 2625 additions and 408 deletions

View file

@ -12,41 +12,36 @@ if [ -z "$package_add" ] || [ -z "$name_add" ]; then
fi fi
logo_replace_color() { logo_replace_color() {
file="$1" local file="$1"
color1="$2" local color_shell="$2"
color2="$3" local color_shell_dark="$3"
# color 600 # shell color
sed -i "s|#7CB342|$color1|gi" "$file" sed -i "s|#199834|$color_shell|gi" "$file"
# color 200 sed -i "s|#044204|$color_shell_dark|gi" "$file"
sed -i "s|#C5E1A5|$color2|gi" "$file"
} }
logo_alternative() { logo_alternative() {
color1="$1" logo_replace_color "$mydir/graphics/ic_launcher_foreground_sc.svg" "$@"
color2="$2" logo_replace_color "$mydir/graphics/ic_launcher_sc.svg" "$@"
logo_replace_color "$mydir/graphics/ic_launcher_round.svg" "$color1" "$color2"
logo_replace_color "$mydir/graphics/ic_launcher.svg" "$color1" "$color2"
logo_replace_color "$mydir/graphics/riot_splash_0_green.svg" "$color1" "$color2"
logo_replace_color "$mydir/vector/src/main/res/drawable-anydpi-v26/ic_launcher_foreground.xml" "$color1" "$color2"
"$mydir/graphics/icon_gen.sh" "$mydir/graphics/icon_gen.sh"
} }
case "$package_add" in case "$package_add" in
"a") "a")
# cyan # cyan
logo_alternative "#00ACC1" "#80DEEA" logo_alternative "#00ACC1" "#006064"
;; ;;
"b") "b")
# orange # orange
logo_alternative "#FB8C00" "#FFCC80" logo_alternative "#FB8C00" "#E65100"
;; ;;
"c") "c")
# purple # purple
logo_alternative "#5E35B1" "#B39DDB" logo_alternative "#5E35B1" "#311B92"
;; ;;
"d") "d")
# red # red
logo_alternative "#E53935" "#EF9A9A" logo_alternative "#E53935" "#B71C1C"
;; ;;
esac esac

View file

@ -1,82 +0,0 @@
<?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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="ic_launcher.svg"
id="svg12"
version="1.1"
viewBox="0 0 192 192"
height="192"
width="192">
<metadata
id="metadata18">
<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 />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs16" />
<sodipodi:namedview
showguides="false"
inkscape:current-layer="svg12"
inkscape:window-maximized="0"
inkscape:window-y="20"
inkscape:window-x="1920"
inkscape:cy="90.320976"
inkscape:cx="-40.197743"
inkscape:zoom="1.9166667"
showgrid="false"
id="namedview14"
inkscape:window-height="691"
inkscape:window-width="1278"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff"
inkscape:document-rotation="0" />
<g
transform="matrix(1.604997,0,0,1.6049951,-58.079789,-58.079253)"
id="g843">
<path
d="m 84.168082,72.951099 v 15.490125 l 15.729415,-0.01596 c 0.199463,0 0.382963,-0.006 0.562473,-0.01795 4.13481,-0.273261 7.36806,-3.664095 7.36806,-7.719133 0,-4.266466 -3.55039,-7.737084 -7.91657,-7.737084 z M 68.614191,149.46027 c -8.590742,0 -15.555885,-6.80759 -15.555885,-15.20489 V 57.746202 c 0,-8.3973 6.965143,-15.206891 15.555885,-15.206891 h 31.299263 c 21.519736,0 39.028336,17.113736 39.028336,38.148872 0,19.999937 -15.98073,36.716747 -36.3815,38.059117 -0.86765,0.0578 -1.76123,0.0878 -2.646836,0.0878 l -15.743378,0.016 v 15.40436 c 0,8.3973 -6.963148,15.20489 -15.555885,15.20489 z"
fill="#00000000"
stroke-width="2.73662"
stroke="#7cb342"
id="path6"
style="fill:#c5e1a5;fill-opacity:1" />
<path
d="m 84.168082,72.951099 v 15.490125 l 15.729415,-0.01596 c 0.199463,0 0.382963,-0.006 0.562473,-0.01795 4.13481,-0.273261 7.36806,-3.664095 7.36806,-7.719133 0,-4.266466 -3.55039,-7.737084 -7.91657,-7.737084 z M 68.614191,149.46027 c -8.590742,0 -15.555885,-6.80759 -15.555885,-15.20489 v -28.97767 c -0.05585,-0.52458 -0.08577,-1.05914 -0.08577,-1.59968 0,-0.55051 0.02792,-1.09503 0.08577,-1.62959 V 57.748197 c 0,-8.3973 6.965143,-15.206892 15.555885,-15.206892 h 31.299263 c 21.519736,0 39.028336,17.113737 39.028336,38.148873 0,19.999932 -15.98073,36.716742 -36.3815,38.059112 -0.86765,0.0579 -1.76123,0.0878 -2.646836,0.0878 l -15.743378,0.016 v 15.40436 c 0,8.3973 -6.963148,15.2049 -15.555885,15.2049 z"
fill="#c5e1a5"
id="path4"
style="stroke-width:1.9946" />
<path
d="M 68.614191,134.25538 V 57.746202 h 31.299263 c 12.962906,0 23.470456,10.272231 23.470456,22.941981 0,12.145168 -9.65386,22.086297 -21.86879,22.890117 -0.53057,0.0359 -1.06312,0.0539 -1.601666,0.0539 H 68.614191"
fill="#00000000"
stroke-linecap="round"
stroke-width="2.73662"
stroke="#7cb342"
id="path8"
style="fill:none" />
<path
d="m 81.431491,49.025776 c 2.385541,3.327006 3.301063,7.362098 2.579017,11.359292 -0.722045,3.999189 -2.995889,7.48377 -6.402666,9.813472 -7.030965,4.809 -16.758629,3.135523 -21.681302,-3.731912 -2.385541,-3.327006 -3.301063,-7.362098 -2.579017,-11.361287 0.722045,-3.999189 2.995889,-7.483769 6.402666,-9.813471 7.030965,-4.809 16.756634,-3.135524 21.679307,3.731911 z M 123.51356,149.45229 c -4.90273,0 -9.72567,-2.25789 -12.75347,-6.48048 l -21.984482,-30.6671 c -4.930651,-6.8774 -3.223274,-16.35977 3.81168,-21.176749 7.034955,-4.820967 16.734692,-3.15148 21.665342,3.725928 l 21.98448,30.667101 c 4.93066,6.87741 3.22328,16.35977 -3.81168,21.17675 -2.71664,1.86097 -5.83021,2.75455 -8.91386,2.75455 z"
fill="#7cb342"
id="path10"
style="stroke-width:1.9946" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 37 KiB

View file

@ -1,109 +0,0 @@
<?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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="ic_launcher_round.svg"
id="svg12"
version="1.1"
viewBox="0 0 192 192"
height="192"
width="192">
<metadata
id="metadata18">
<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="defs16" />
<sodipodi:namedview
showguides="false"
inkscape:current-layer="svg12"
inkscape:window-maximized="0"
inkscape:window-y="20"
inkscape:window-x="1920"
inkscape:cy="146.35302"
inkscape:cx="51.592497"
inkscape:zoom="1.355288"
showgrid="false"
id="namedview14"
inkscape:window-height="691"
inkscape:window-width="1278"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
<g
transform="matrix(3.9999924,0,0,3.9999997,-2.7999449e-6,-4017.4485)"
id="g4200">
<ellipse
ry="21.999985"
rx="21.999989"
cy="1028.3622"
cx="23.999994"
id="path4137"
style="fill:#424242;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0" />
<path
inkscape:connector-curvature="0"
id="path4137-0"
d="m 24.000005,1006.3622 a 21.999989,21.999494 0 0 0 -22,21.9995 21.999989,21.999494 0 0 0 0.0059,0.1465 21.999989,21.999494 0 0 1 21.994141,-21.896 21.999989,21.999494 0 0 1 21.994141,21.853 21.999989,21.999494 0 0 0 0.0059,-0.1035 21.999989,21.999494 0 0 0 -22,-21.9995 z"
style="fill:#ffffff;fill-opacity:0.196078;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0" />
<path
id="path4137-0-3"
d="m 24.000005,1050.3622 a 21.999989,21.999985 0 0 1 -22,-22 21.999989,21.999985 0 0 1 0.0059,-0.1465 21.999989,21.999985 0 0 0 21.9941,21.8965 21.999989,21.999985 0 0 0 21.994141,-21.8535 21.999989,21.999985 0 0 1 0.0059,0.1035 21.999989,21.999985 0 0 1 -22,22 z"
style="fill:#000000;fill-opacity:0.196078;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0"
inkscape:connector-curvature="0" />
</g>
<rect
y="63.330784"
x="79.951225"
height="32.083462"
width="32.105865"
id="rect995"
style="fill:#000000;fill-opacity:1;stroke:#ff8dff;stroke-width:1.372" />
<path
d="M 130.70312 55.84375 L 114.8457 73.931641 C 114.8457 73.931641 117.83118 86.324244 114.20898 90.455078 C 110.58679 94.585911 94.859375 96.732422 94.859375 96.732422 L 61.929688 134.29688 C 61.929688 134.29688 58.218106 144.13997 59.751953 145.67383 L 98.052734 183.97461 A 87.999786 87.999931 0 0 0 183.12695 108.35352 C 161.35949 86.546299 130.70313 55.84375 130.70312 55.84375 z "
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0"
id="path4137-6" />
<path
style="stroke-width:1.9946"
id="path4"
fill="#c5e1a5"
d="m 84.168082,72.951099 v 15.490125 l 15.729415,-0.01596 c 0.199463,0 0.382963,-0.006 0.562473,-0.01795 4.13481,-0.273261 7.36806,-3.664095 7.36806,-7.719133 0,-4.266466 -3.55039,-7.737084 -7.91657,-7.737084 z M 68.614191,149.46027 c -8.590742,0 -15.555885,-6.80759 -15.555885,-15.20489 v -28.97767 c -0.05585,-0.52458 -0.08577,-1.05914 -0.08577,-1.59968 0,-0.55051 0.02792,-1.09503 0.08577,-1.62959 V 57.748197 c 0,-8.3973 6.965143,-15.206892 15.555885,-15.206892 h 31.299263 c 21.519736,0 39.028336,17.113737 39.028336,38.148873 0,19.999932 -15.98073,36.716742 -36.3815,38.059112 -0.86765,0.0579 -1.76123,0.0878 -2.646836,0.0878 l -15.743378,0.016 v 15.40436 c 0,8.3973 -6.963148,15.2049 -15.555885,15.2049 z" />
<path
style="fill:#c5e1a5;fill-opacity:1"
id="path6"
stroke="#7cb342"
stroke-width="2.73662"
fill="#00000000"
d="m 84.168082,72.951099 v 15.490125 l 15.729415,-0.01596 c 0.199463,0 0.382963,-0.006 0.562473,-0.01795 4.13481,-0.273261 7.36806,-3.664095 7.36806,-7.719133 0,-4.266466 -3.55039,-7.737084 -7.91657,-7.737084 z M 68.614191,149.46027 c -8.590742,0 -15.555885,-6.80759 -15.555885,-15.20489 V 57.746202 c 0,-8.3973 6.965143,-15.206891 15.555885,-15.206891 h 31.299263 c 21.519736,0 39.028336,17.113736 39.028336,38.148872 0,19.999937 -15.98073,36.716747 -36.3815,38.059117 -0.86765,0.0578 -1.76123,0.0878 -2.646836,0.0878 l -15.743378,0.016 v 15.40436 c 0,8.3973 -6.963148,15.20489 -15.555885,15.20489 z" />
<path
style="fill:none"
id="path8"
stroke="#7cb342"
stroke-width="2.73662"
stroke-linecap="round"
fill="#00000000"
d="M 68.614191,134.25538 V 57.746202 h 31.299263 c 12.962906,0 23.470456,10.272231 23.470456,22.941981 0,12.145168 -9.65386,22.086297 -21.86879,22.890117 -0.53057,0.0359 -1.06312,0.0539 -1.601666,0.0539 H 68.614191" />
<path
style="stroke-width:1.9946"
id="path10"
fill="#7cb342"
d="m 81.431491,49.025776 c 2.385541,3.327006 3.301063,7.362098 2.579017,11.359292 -0.722045,3.999189 -2.995889,7.48377 -6.402666,9.813472 -7.030965,4.809 -16.758629,3.135523 -21.681302,-3.731912 -2.385541,-3.327006 -3.301063,-7.362098 -2.579017,-11.361287 0.722045,-3.999189 2.995889,-7.483769 6.402666,-9.813471 7.030965,-4.809 16.756634,-3.135524 21.679307,3.731911 z M 123.51356,149.45229 c -4.90273,0 -9.72567,-2.25789 -12.75347,-6.48048 l -21.984482,-30.6671 c -4.930651,-6.8774 -3.223274,-16.35977 3.81168,-21.176749 7.034955,-4.820967 16.734692,-3.15148 21.665342,3.725928 l 21.98448,30.667101 c 4.93066,6.87741 3.22328,16.35977 -3.81168,21.17675 -2.71664,1.86097 -5.83021,2.75455 -8.91386,2.75455 z" />
</svg>

Before

Width:  |  Height:  |  Size: 6.2 KiB

View file

@ -1,103 +0,0 @@
<?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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="ic_launcher_round_tmp.svg"
id="svg12"
version="1.1"
viewBox="0 0 192 192"
height="192"
width="192">
<metadata
id="metadata18">
<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="defs16" />
<sodipodi:namedview
inkscape:current-layer="svg12"
inkscape:window-maximized="0"
inkscape:window-y="20"
inkscape:window-x="1920"
inkscape:cy="123.44858"
inkscape:cx="158.58289"
inkscape:zoom="1.9166667"
showgrid="false"
id="namedview14"
inkscape:window-height="691"
inkscape:window-width="1278"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
<g
transform="matrix(3.9999924,0,0,3.9999997,-2.7999449e-6,-4017.4485)"
id="g4200">
<ellipse
ry="21.999985"
rx="21.999989"
cy="1028.3622"
cx="23.999994"
id="path4137"
style="fill:#424242;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0" />
<path
inkscape:connector-curvature="0"
id="path4137-0"
d="m 24.000005,1006.3622 a 21.999989,21.999494 0 0 0 -22,21.9995 21.999989,21.999494 0 0 0 0.0059,0.1465 21.999989,21.999494 0 0 1 21.994141,-21.896 21.999989,21.999494 0 0 1 21.994141,21.853 21.999989,21.999494 0 0 0 0.0059,-0.1035 21.999989,21.999494 0 0 0 -22,-21.9995 z"
style="fill:#ffffff;fill-opacity:0.196078;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0" />
<path
id="path4137-0-3"
d="m 24.000005,1050.3622 a 21.999989,21.999985 0 0 1 -22,-22 21.999989,21.999985 0 0 1 0.0059,-0.1465 21.999989,21.999985 0 0 0 21.9941,21.8965 21.999989,21.999985 0 0 0 21.994141,-21.8535 21.999989,21.999985 0 0 1 0.0059,0.1035 21.999989,21.999985 0 0 1 -22,22 z"
style="fill:#000000;fill-opacity:0.196078;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(1.9946,0,0,1.994608,-11.000268,-11.454728)"
id="g909">
<path
d="m 103.426,146.731 c 10.234,10.234 27.539,9.521 38.653,-1.592 11.114,-11.113 11.826,-28.419 1.592,-38.653 C 133.437,96.252 71.044,33.74 71.044,33.74 l -7.951,9.069 c 0,0 1.497,6.213 -0.319,8.284 -1.816,2.071 -9.701,3.147 -9.701,3.147 L 36.564,73.073 c 0,0 -1.861,4.935 -1.092,5.704 z"
fill="#000000"
id="path2" />
<path
d="m 47.713,42.317 v 7.766 l 7.886,-0.008 c 0.1,0 0.192,-0.003 0.282,-0.009 2.073,-0.137 3.694,-1.837 3.694,-3.87 0,-2.139 -1.78,-3.879 -3.969,-3.879 z m -7.798,38.358 c -4.307,0 -7.799,-3.413 -7.799,-7.623 V 58.524 c -0.028,-0.263 -0.043,-0.531 -0.043,-0.802 0,-0.276 0.014,-0.549 0.043,-0.817 v -22.21 c 0,-4.21 3.492,-7.624 7.799,-7.624 h 15.692 c 10.789,0 19.567,8.58 19.567,19.126 0,10.027 -8.012,18.408 -18.24,19.081 -0.435,0.029 -0.883,0.044 -1.327,0.044 l -7.893,0.008 v 7.723 c 0,4.21 -3.491,7.623 -7.799,7.623 z"
fill="#c5e1a5"
id="path4" />
<path
d="m 47.713,42.317 v 7.766 l 7.886,-0.008 c 0.1,0 0.192,-0.003 0.282,-0.009 2.073,-0.137 3.694,-1.837 3.694,-3.87 0,-2.139 -1.78,-3.879 -3.969,-3.879 z m -7.798,38.358 c -4.307,0 -7.799,-3.413 -7.799,-7.623 V 34.694 c 0,-4.21 3.492,-7.624 7.799,-7.624 h 15.692 c 10.789,0 19.567,8.58 19.567,19.126 0,10.027 -8.012,18.408 -18.24,19.081 -0.435,0.029 -0.883,0.044 -1.327,0.044 l -7.893,0.008 v 7.723 c 0,4.21 -3.491,7.623 -7.799,7.623 z"
fill="#00000000"
stroke-width="1.37201"
stroke="#7cb342"
id="path6"
style="fill:#c5e1a5;fill-opacity:1" />
<path
d="M 39.915,73.052 V 34.694 h 15.692 c 6.499,0 11.767,5.15 11.767,11.502 0,6.089 -4.84,11.073 -10.964,11.476 -0.266,0.018 -0.533,0.027 -0.803,0.027 H 39.915"
fill="#00000000"
stroke-linecap="round"
stroke-width="1.37201"
stroke="#7cb342"
id="path8"
style="fill:none" />
<path
d="m 46.341,30.322 c 1.196,1.668 1.655,3.691 1.293,5.695 -0.362,2.005 -1.502,3.752 -3.21,4.92 -3.525,2.411 -8.402,1.572 -10.87,-1.871 -1.196,-1.668 -1.655,-3.691 -1.293,-5.696 0.362,-2.005 1.502,-3.752 3.21,-4.92 3.525,-2.411 8.401,-1.572 10.869,1.871 z m 21.098,50.349 c -2.458,0 -4.876,-1.132 -6.394,-3.249 L 50.023,62.047 c -2.472,-3.448 -1.616,-8.202 1.911,-10.617 3.527,-2.417 8.39,-1.58 10.862,1.868 l 11.022,15.375 c 2.472,3.448 1.616,8.202 -1.911,10.617 -1.362,0.933 -2.923,1.381 -4.469,1.381 z"
fill="#7cb342"
id="path10" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.2 KiB

824
graphics/ic_launcher_sc.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 869 KiB

View file

@ -23,20 +23,25 @@ dpi=96
base_folder="$mydir/../vector/src/main/res/drawable" base_folder="$mydir/../vector/src/main/res/drawable"
file="$mydir/riot_splash_0_green.svg" cp "$mydir/ic_launcher_sc.svg" "$mydir/riot_splash_sc.svg"
file="$mydir/riot_splash_sc.svg"
export_files export_files
rm "$mydir/riot_splash_sc.svg"
cp "$mydir/ic_launcher.svg" "$mydir/riotx_logo.svg" dpi=48
file="$mydir/riotx_logo.svg" cp "$mydir/ic_launcher_sc.svg" "$mydir/element_logo_sc.svg"
file="$mydir/element_logo_sc.svg"
export_files export_files
rm "$mydir/riotx_logo.svg" rm "$mydir/element_logo_sc.svg"
base_folder="$mydir/../vector/src/main/res/mipmap" base_folder="$mydir/../vector/src/main/res/mipmap"
dpi=24 # 96/4 dpi=24 # 96/4
file="$mydir/ic_launcher.svg" file="$mydir/ic_launcher_sc.svg"
export_files export_files
file="$mydir/ic_launcher_round.svg"
dpi=48 # 96/2
file="$mydir/ic_launcher_foreground_sc.svg"
export_files export_files

BIN
graphics/model.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 KiB

View file

@ -1,77 +0,0 @@
<?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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="riot_splash_0_green.svg"
id="svg12"
version="1.1"
viewBox="0 0 133.28999 164.931"
height="164.931"
width="133.28999">
<metadata
id="metadata18">
<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 />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs16" />
<sodipodi:namedview
inkscape:current-layer="svg12"
inkscape:window-maximized="0"
inkscape:window-y="20"
inkscape:window-x="1920"
inkscape:cy="67.581407"
inkscape:cx="-56.285447"
inkscape:zoom="1.9166667"
showgrid="false"
id="namedview14"
inkscape:window-height="1047"
inkscape:window-width="1918"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff"
inkscape:document-rotation="0" />
<path
id="path4"
fill="#aed581"
d="m 48.849003,47.799006 v 23.297997 l 23.657997,-0.024 c 0.3,0 0.576,-0.009 0.845997,-0.027 6.219,-0.411 11.082,-5.511 11.082,-11.61 0,-6.416997 -5.34,-11.636997 -11.906997,-11.636997 z M 25.455009,162.87299 c -12.920997,0 -23.3969939,-10.239 -23.3969939,-22.869 V 96.42 c -0.084,-0.789 -0.129,-1.593003 -0.129,-2.406003 0,-0.828 0.042,-1.647 0.129,-2.451 V 24.933012 c 0,-12.63 10.4759969,-22.8719969 23.3969939,-22.8719969 H 72.531 c 32.36699,0 58.70099,25.7399939 58.70099,57.3779879 0,30.080997 -24.036,55.223987 -54.719993,57.242987 -1.305,0.087 -2.649,0.132 -3.980997,0.132 l -23.678997,0.024 v 23.169 c 0,12.63 -10.472997,22.869 -23.396994,22.869 z"
style="stroke-width:3" />
<path
id="path6"
stroke="#7cb342"
stroke-width="4.11603"
fill="#00000000"
d="m 48.849003,47.799006 v 23.297997 l 23.657997,-0.024 c 0.3,0 0.576,-0.009 0.845997,-0.027 6.219,-0.411 11.082,-5.511 11.082,-11.61 0,-6.416997 -5.34,-11.636997 -11.906997,-11.636997 z M 25.455009,162.87299 c -12.920997,0 -23.3969939,-10.239 -23.3969939,-22.869 V 24.930012 c 0,-12.63 10.4759969,-22.8719969 23.3969939,-22.8719969 H 72.531 c 32.36699,0 58.70099,25.7399939 58.70099,57.3779879 0,30.080997 -24.036,55.223987 -54.719993,57.242987 -1.305,0.087 -2.649,0.132 -3.980997,0.132 l -23.678997,0.024 v 23.169 c 0,12.63 -10.472997,22.869 -23.396994,22.869 z"
style="fill:#c5e1a5;fill-opacity:1" />
<path
style="fill:none"
id="path8"
stroke="#7cb342"
stroke-width="4.11603"
stroke-linecap="round"
fill="#00000000"
d="M 25.455009,140.00399 V 24.930012 H 72.531 c 19.49699,0 35.30099,15.449997 35.30099,34.505991 0,18.266997 -14.52,33.218994 -32.891993,34.427994 -0.798,0.054 -1.599,0.081 -2.408997,0.081 H 25.455009" />
<path
id="path10"
fill="#7cb342"
d="m 44.733006,11.814012 c 3.587997,5.004 4.964997,11.073 3.878997,17.084997 -1.086,6.015 -4.505997,11.256 -9.629997,14.759997 -10.574997,7.233 -25.205994,4.716 -32.6099909,-5.612997 -3.588,-5.004 -4.965,-11.073 -3.879,-17.087997 1.086,-6.015 4.506,-11.2559999 9.6299969,-14.7599969 10.574997,-7.2329994 25.202994,-4.7159997 32.606994,5.6129969 z M 108.02699,162.86099 c -7.374,0 -14.628,-3.396 -19.181996,-9.747 l -33.065991,-46.125 C 48.363003,96.645 50.931003,82.383 61.512,75.138 72.093,67.887003 86.681994,70.398003 94.09799,80.742 l 33.066,46.12499 c 7.416,10.344 4.848,24.606 -5.733,31.851 -4.086,2.799 -8.769,4.143 -13.407,4.143 z"
style="stroke-width:3" />
</svg>

Before

Width:  |  Height:  |  Size: 4 KiB

View file

@ -40,10 +40,9 @@
<application <application
android:name=".VectorApplication" android:name=".VectorApplication"
android:allowBackup="false" android:allowBackup="false"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher_sc"
android:label="@string/app_name" android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme.SC.Light" android:theme="@style/AppTheme.SC.Light"
tools:replace="android:allowBackup"> tools:replace="android:allowBackup">

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View file

@ -2,15 +2,15 @@
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" <animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false"> android:oneshot="false">
<item <item
android:drawable="@drawable/element_logo_green" android:drawable="@drawable/element_logo_sc"
android:duration="@integer/splash_animation_velocity" /> android:duration="@integer/splash_animation_velocity" />
<item <item
android:drawable="@drawable/element_logo_green" android:drawable="@drawable/element_logo_sc"
android:duration="@integer/splash_animation_velocity" /> android:duration="@integer/splash_animation_velocity" />
<item <item
android:drawable="@drawable/element_logo_green" android:drawable="@drawable/element_logo_sc"
android:duration="@integer/splash_animation_velocity" /> android:duration="@integer/splash_animation_velocity" />
<item <item
android:drawable="@drawable/element_logo_green" android:drawable="@drawable/element_logo_sc"
android:duration="@integer/splash_animation_velocity" /> android:duration="@integer/splash_animation_velocity" />
</animation-list> </animation-list>

View file

@ -5,13 +5,13 @@
android:opacity="opaque"> android:opacity="opaque">
<!-- Background color --> <!-- Background color -->
<item android:drawable="@color/riotx_accent" /> <item android:drawable="@android:color/black" />
<!-- Centered logo --> <!-- Centered logo -->
<item> <item>
<bitmap <bitmap
android:gravity="center" android:gravity="center"
android:src="@drawable/riot_splash_white" /> android:src="@drawable/riot_splash_sc" />
</item> </item>
</layer-list> </layer-list>

View file

@ -31,7 +31,7 @@
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/element_logo_green" /> android:src="@drawable/element_logo_sc" />
</LinearLayout> </LinearLayout>

View file

@ -22,7 +22,7 @@
android:id="@+id/loginSplashLogo" android:id="@+id/loginSplashLogo"
android:layout_width="64dp" android:layout_width="64dp"
android:layout_height="64dp" android:layout_height="64dp"
android:src="@drawable/element_logo_green" android:src="@drawable/element_logo_sc"
android:transitionName="loginLogoTransition" android:transitionName="loginLogoTransition"
app:layout_constraintBottom_toTopOf="@+id/logoType" app:layout_constraintBottom_toTopOf="@+id/logoType"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"

View file

@ -6,4 +6,4 @@
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="32dp" android:layout_marginTop="32dp"
android:importantForAccessibility="no" android:importantForAccessibility="no"
android:src="@drawable/element_logo_green" /> android:src="@drawable/element_logo_sc" />

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="m0,0h108v108h-108z"
android:fillColor="#303030"
android:fillType="evenOdd"/>
</vector>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background_sc" />
<foreground android:drawable="@mipmap/ic_launcher_foreground_sc" />
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -16,7 +16,7 @@
<item name="android:id">@id/loginLogo</item> <item name="android:id">@id/loginLogo</item>
<item name="android:layout_width">60dp</item> <item name="android:layout_width">60dp</item>
<item name="android:layout_height">60dp</item> <item name="android:layout_height">60dp</item>
<item name="android:src">@drawable/element_logo_green</item> <item name="android:src">@drawable/element_logo_sc</item>
<item name="android:importantForAccessibility">no</item> <item name="android:importantForAccessibility">no</item>
<item name="layout_constraintTop_toTopOf">parent</item> <item name="layout_constraintTop_toTopOf">parent</item>
<item name="layout_constraintStart_toStartOf">parent</item> <item name="layout_constraintStart_toStartOf">parent</item>