New android icon

This commit is contained in:
Yousef Khadadeh 2026-05-14 21:23:36 +03:00
parent 6921f57cfe
commit 30dfc1accd
24 changed files with 245 additions and 148 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -0,0 +1,23 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="33.867"
android:viewportHeight="33.867">
<group android:scaleX="0.6"
android:scaleY="0.6"
android:translateX="6.7734"
android:translateY="6.7734">
<path
android:pathData="M-21.167,-21.167h76.2v76.2h-76.2z"
android:strokeLineJoin="miter"
android:strokeWidth="4.48268"
android:fillColor="#11181a"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="M25.401,-28.183A1.118,1.118 0,0 0,24.281 -27.063L24.281,7.212L9.549,7.212L9.549,-24.341A1.082,1.082 0,0 0,8.467 -25.423A1.082,1.082 0,0 0,7.385 -24.341L7.385,7.212L-32.808,7.212A1.254,1.254 0,0 0,-34.063 8.466A1.254,1.254 0,0 0,-32.808 9.72L7.385,9.72L7.385,24.163L-34.926,24.163A1.237,1.237 0,0 0,-36.162 25.399A1.237,1.237 0,0 0,-34.926 26.638L7.385,26.638L7.385,68.792A1.082,1.082 0,0 0,8.467 69.874A1.082,1.082 0,0 0,9.549 68.792L9.549,26.638L24.281,26.638L24.281,69.851A1.118,1.118 0,0 0,25.401 70.968A1.118,1.118 0,0 0,26.518 69.851L26.518,26.638L79.149,26.638A1.237,1.237 0,0 0,80.387 25.399A1.237,1.237 0,0 0,79.149 24.163L26.518,24.163L26.518,9.72L68.791,9.72A1.254,1.254 0,0 0,70.045 8.466A1.254,1.254 0,0 0,68.791 7.212L26.518,7.212L26.518,-27.063A1.118,1.118 0,0 0,25.401 -28.183zM9.549,9.72L24.281,9.72L24.281,24.163L9.549,24.163L9.549,9.72z"
android:strokeLineJoin="round"
android:fillColor="#21292b"
android:strokeLineCap="round"/>
</group>
</vector>

View file

@ -0,0 +1,48 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="33.867"
android:viewportHeight="33.867">
<group android:scaleX="0.7"
android:scaleY="0.7"
android:translateX="5.08005"
android:translateY="5.08005">
<path
android:pathData="M25.271,8.656C27.326,10.71 16.71,21.326 16.71,21.326L13.97,18.587c0,0 9.246,-11.986 11.301,-9.931z"
android:strokeLineJoin="round"
android:strokeWidth="1.984"
android:fillColor="#00000000"
android:strokeLineCap="round">
<aapt:attr name="android:strokeColor">
<gradient
android:startX="26.458"
android:startY="7.408"
android:endX="7.806"
android:endY="26.425"
android:type="linear">
<item android:offset="0" android:color="#FFCFDFE2"/>
<item android:offset="1" android:color="#FFB8CACA"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="m11.573,20.984 l2.74,2.74c0,0 -0.43,0.685 -1.37,1.37 -0.94,0.685 -4.109,0 -4.109,0z"
android:strokeLineJoin="round"
android:strokeWidth="1.984"
android:fillColor="#00000000"
android:strokeLineCap="round">
<aapt:attr name="android:strokeColor">
<gradient
android:startX="26.458"
android:startY="7.408"
android:endX="7.806"
android:endY="26.425"
android:type="linear">
<item android:offset="0" android:color="#FFCFDFE2"/>
<item android:offset="1" android:color="#FFB8CACA"/>
</gradient>
</aapt:attr>
</path>
</group>
</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="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

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="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View file

@ -1,148 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="128.00002"
height="127.99999"
viewBox="0 0 33.866671 33.866665"
version="1.1"
id="svg1"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
sodipodi:docname="fill_logo.svg"
inkscape:export-filename="android-project/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png"
inkscape:export-xdpi="144"
inkscape:export-ydpi="144"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="currentColor"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="8.0000002"
inkscape:cx="36.749999"
inkscape:cy="62.624998"
inkscape:window-width="1136"
inkscape:window-height="1240"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="layer1"
showgrid="true">
<inkscape:grid
id="grid2"
units="px"
originx="0"
originy="0"
spacingx="1.0583333"
spacingy="1.0583333"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
enabled="true"
visible="true" />
</sodipodi:namedview>
<defs
id="defs1">
<linearGradient
id="linearGradient24"
inkscape:collect="always">
<stop
style="stop-color:#cfdfe2;stop-opacity:1;"
offset="0"
id="stop24" />
<stop
style="stop-color:#b8caca;stop-opacity:1;"
offset="1"
id="stop25" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient24"
id="linearGradient25"
x1="7.6466098"
y1="0.79933673"
x2="1.1093616"
y2="7.4644232"
gradientUnits="userSpaceOnUse" />
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-32.279167,-138.64166)">
<rect
ry="2.096508"
rx="2.096508"
y="141.94769"
x="35.585205"
height="27.254602"
width="27.254602"
id="rect2896"
style="display:none;opacity:0.2;fill:none;fill-opacity:1;stroke:currentColor;stroke-width:0.261937;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
inkscape:label="guidelinesborder"
sodipodi:insensitive="true" />
<rect
ry="0"
rx="0"
y="138.64166"
x="32.279167"
height="33.866673"
width="33.866661"
id="rect2896-3"
style="display:inline;opacity:1;fill:#11181a;fill-opacity:1;stroke:none;stroke-width:1.9923;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
inkscape:label="logoFill" />
<g
id="g14"
inkscape:label="lines"
style="stroke:none;stroke-opacity:1;fill:none;fill-opacity:1">
<g
id="g26"
style="opacity:0.12;stroke:#9badad;stroke-opacity:1"
inkscape:label="grid">
<path
style="opacity:1;fill:#141d1f;fill-opacity:1;stroke:#9badad;stroke-width:2.50773;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 24.870834,147.10833 H 71.437498"
id="path25" />
<path
style="opacity:1;fill:#141d1f;fill-opacity:1;stroke:#9badad;stroke-width:2.47471;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 24.870834,164.04166 H 70.219261"
id="path26" />
<path
style="fill:#141d1f;fill-opacity:1;stroke:#9badad;stroke-width:2.23637;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 57.679166,137.58333 v 37.03395"
id="path25-9" />
<path
style="fill:#141d1f;fill-opacity:1;stroke:#9badad;stroke-width:2.16303;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 40.745833,137.19426 v 34.64479"
id="path26-2" />
</g>
<g
id="g8"
style="fill:none;fill-opacity:1;stroke:url(#linearGradient25);opacity:1;stroke-opacity:1"
transform="matrix(2.8532193,0,0,2.8532193,36.920045,143.76931)"
inkscape:label="pen">
<path
style="fill:none;fill-opacity:1;stroke:url(#linearGradient25);stroke-width:0.69548633;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 7.2304465,1.2364568 C 7.9505756,1.9565858 4.229909,5.6772522 4.229909,5.6772522 L 3.269737,4.7170803 c 0,0 3.2405805,-4.20075251 3.9607095,-3.4806235 z"
id="path3"
sodipodi:nodetypes="sccs" />
<path
style="fill:none;fill-opacity:1;stroke:url(#linearGradient25);stroke-width:0.69548633;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 2.4295868,5.5572306 0.9601719,0.960172 c 0,0 -0.1507616,0.2400429 -0.480086,0.4800859 -0.3293244,0.240043 -1.4402579,0 -1.4402579,0 z"
id="path4"
sodipodi:nodetypes="ccscc" />
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.8 KiB

71
logo_background.svg Normal file
View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="128.00002"
height="127.99999"
viewBox="0 0 33.866671 33.866665"
version="1.1"
id="svg1"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
sodipodi:docname="logo_background.svg"
inkscape:export-filename="android-project/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png"
inkscape:export-xdpi="144"
inkscape:export-ydpi="144"
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">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="currentColor"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="2.0000001"
inkscape:cx="69.499998"
inkscape:cy="-14.5"
inkscape:window-width="1606"
inkscape:window-height="1188"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg1"
showgrid="true">
<inkscape:grid
id="grid2"
units="px"
originx="0"
originy="0"
spacingx="1.0583333"
spacingy="1.0583333"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
enabled="true"
visible="true" />
</sodipodi:namedview>
<defs
id="defs1" />
<rect
ry="0"
rx="0"
y="-21.166662"
x="-21.16667"
height="76.199997"
width="76.199997"
id="rect2896-3"
style="display:inline;opacity:1;fill:#11181a;fill-opacity:1;stroke:none;stroke-width:4.48268;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
inkscape:label="logoFill" />
<path
id="path4"
style="opacity:1;baseline-shift:baseline;display:inline;overflow:visible;vector-effect:none;fill:#21292b;stroke-linecap:round;stroke-linejoin:round;enable-background:accumulate;stop-color:#000000;stop-opacity:1;fill-opacity:1"
d="M 57.679684 110.45888 A 1.118185 1.118185 0 0 0 56.560372 111.5782 L 56.560372 145.85362 L 41.827938 145.85362 L 41.827938 114.30103 A 1.081515 1.081515 0 0 0 40.746351 113.21892 A 1.081515 1.081515 0 0 0 39.664246 114.30103 L 39.664246 145.85362 L -0.52916665 145.85362 A 1.253865 1.253865 0 0 0 -1.7833537 147.10729 A 1.253865 1.253865 0 0 0 -0.52916665 148.36148 L 39.664246 148.36148 L 39.664246 162.80453 L -2.6463501 162.80453 A 1.237355 1.237355 0 0 0 -3.8829671 164.04114 A 1.237355 1.237355 0 0 0 -2.6463501 165.27931 L 39.664246 165.27931 L 39.664246 207.43384 A 1.081515 1.081515 0 0 0 40.746351 208.51543 A 1.081515 1.081515 0 0 0 41.827938 207.43384 L 41.827938 165.27931 L 56.560372 165.27931 L 56.560372 208.49218 A 1.118185 1.118185 0 0 0 57.679684 209.60942 A 1.118185 1.118185 0 0 0 58.796928 208.49218 L 58.796928 165.27931 L 111.42782 165.27931 A 1.237355 1.237355 0 0 0 112.66599 164.04114 A 1.237355 1.237355 0 0 0 111.42782 162.80453 L 58.796928 162.80453 L 58.796928 148.36148 L 101.07032 148.36148 A 1.253865 1.253865 0 0 0 102.32399 147.10729 A 1.253865 1.253865 0 0 0 101.07032 145.85362 L 58.796928 145.85362 L 58.796928 111.5782 A 1.118185 1.118185 0 0 0 57.679684 110.45888 z M 41.827938 148.36148 L 56.560372 148.36148 L 56.560372 162.80453 L 41.827938 162.80453 L 41.827938 148.36148 z "
transform="translate(-32.279167,-138.64166)" />
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

91
logo_foreground.svg Normal file
View file

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="128.00002"
height="127.99999"
viewBox="0 0 33.866671 33.866665"
version="1.1"
id="svg1"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
sodipodi:docname="logo_pen.svg"
inkscape:export-filename="android-project/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png"
inkscape:export-xdpi="144"
inkscape:export-ydpi="144"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="currentColor"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="8.0000002"
inkscape:cx="36.749999"
inkscape:cy="62.624998"
inkscape:window-width="3440"
inkscape:window-height="1354"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1"
showgrid="true">
<inkscape:grid
id="grid2"
units="px"
originx="0"
originy="0"
spacingx="1.0583333"
spacingy="1.0583333"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
enabled="true"
visible="true" />
</sodipodi:namedview>
<defs
id="defs1">
<linearGradient
id="linearGradient24"
inkscape:collect="always">
<stop
style="stop-color:#cfdfe2;stop-opacity:1;"
offset="0"
id="stop24" />
<stop
style="stop-color:#b8caca;stop-opacity:1;"
offset="1"
id="stop25" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient24"
id="linearGradient25"
x1="7.6466098"
y1="0.79933673"
x2="1.1093616"
y2="7.4644232"
gradientUnits="userSpaceOnUse" />
</defs>
<path
style="stroke:url(#linearGradient25);stroke-opacity:1;fill:none;fill-opacity:1;opacity:1;stroke-width:0.69548633;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="M 7.2304465,1.2364568 C 7.9505756,1.9565858 4.229909,5.6772522 4.229909,5.6772522 L 3.269737,4.7170803 c 0,0 3.2405805,-4.20075251 3.9607095,-3.4806235 z"
id="path3"
sodipodi:nodetypes="sccs"
transform="matrix(2.8532193,0,0,2.8532193,4.640878,5.1276499)" />
<path
style="stroke:url(#linearGradient25);stroke-opacity:1;fill:none;fill-opacity:1;opacity:1;stroke-width:0.69548633;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 2.4295868,5.5572306 0.9601719,0.960172 c 0,0 -0.1507616,0.2400429 -0.480086,0.4800859 -0.3293244,0.240043 -1.4402579,0 -1.4402579,0 z"
id="path4"
sodipodi:nodetypes="ccscc"
transform="matrix(2.8532193,0,0,2.8532193,4.640878,5.1276499)" />
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -29,6 +29,8 @@ GlobalConfig::GlobalConfig() {
SDL_GetDateTimeLocalePreferences(&dateFormat, &timeFormat); SDL_GetDateTimeLocalePreferences(&dateFormat, &timeFormat);
if(dateFormat == SDL_DATE_FORMAT_YYYYMMDD) // Can't display this in a friendly way, so changing it for now if(dateFormat == SDL_DATE_FORMAT_YYYYMMDD) // Can't display this in a friendly way, so changing it for now
dateFormat = SDL_DATE_FORMAT_DDMMYYYY; dateFormat = SDL_DATE_FORMAT_DDMMYYYY;
if(timeFormat == SDL_TIME_FORMAT_24HR)
timeFormat = SDL_TIME_FORMAT_12HR; // For now, lock at 12 hour since it's the most used format, and time format detection doesn't work properly all the time
} }
nlohmann::json GlobalConfig::get_config_json(const InputManager& input) const { nlohmann::json GlobalConfig::get_config_json(const InputManager& input) const {