From: Damyan Ivanov Date: Wed, 10 Jun 2020 20:37:38 +0000 (+0000) Subject: more launcher icon fiddling X-Git-Tag: v0.14.0~39 X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=commitdiff_plain;h=2e72df8e16ccc74c0bb5a878875b9f22cb66bd9c more launcher icon fiddling --- diff --git a/app/src/main/ic_launcher-playstore.png b/app/src/main/ic_launcher-playstore.png index 2f46dc05..bfa696bb 100644 Binary files a/app/src/main/ic_launcher-playstore.png and b/app/src/main/ic_launcher-playstore.png differ diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml index da2141e1..c8c1a98c 100644 --- a/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -1,69 +1,59 @@ - + android:viewportWidth="108" + android:viewportHeight="108"> + diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png index 783f6f56..50f25007 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index d49dc160..8751305d 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-ldpi/ic_launcher.png b/app/src/main/res/mipmap-ldpi/ic_launcher.png new file mode 100644 index 00000000..3bbdc157 Binary files /dev/null and b/app/src/main/res/mipmap-ldpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png index 434f9611..34b35ba1 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index 6133cf93..17b4d9d9 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-tvdpi/ic_launcher.png b/app/src/main/res/mipmap-tvdpi/ic_launcher.png new file mode 100644 index 00000000..fafac815 Binary files /dev/null and b/app/src/main/res/mipmap-tvdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 8aeff721..d1225699 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index b1b48d7f..16ac723a 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index e7743486..4dc51261 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index dcf90f94..8fa7bd91 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 6d342010..864406d7 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index f32f9cf5..98116a79 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/art/app-icon-transparent-bg.svg b/art/app-icon-transparent-bg.svg index ef3cb881..be3b31db 100644 --- a/art/app-icon-transparent-bg.svg +++ b/art/app-icon-transparent-bg.svg @@ -7,68 +7,83 @@ 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="app-icon-transparent-bg.svg" - width="108mm" - height="108mm" - viewBox="0 0 108 108" + id="svg4620" version="1.1" - id="svg4620"> + viewBox="0 0 108 108" + height="108mm" + width="108mm" + sodipodi:docname="app-icon-transparent-bg.svg" + inkscape:version="1.0 (4035a4fb49, 2020-05-01)"> + inkscape:snap-smooth-nodes="true" + inkscape:guide-bbox="true" + showguides="true" + inkscape:document-rotation="0" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1920" + inkscape:window-height="1022" + id="namedview849" + showgrid="false" + inkscape:zoom="1" + inkscape:cx="204.09449" + inkscape:cy="190.26354" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:current-layer="layer2" + inkscape:pagecheckerboard="true"> + id="guide863" + inkscape:label="" + inkscape:locked="true" + inkscape:color="rgb(239,41,41)" /> + + + id="guide869" + inkscape:label="" + inkscape:locked="true" + inkscape:color="rgb(239,41,41)" /> + position="54.000002,14" /> + position="-10.179975,54.000002" /> MoLe app icon @@ -99,34 +114,40 @@ - - - - - - + inkscape:label="Layer 2" + style="display:inline"> + + + + + + + + diff --git a/art/app-icon.svg b/art/app-icon.svg index fb72d77a..a66927bb 100644 --- a/art/app-icon.svg +++ b/art/app-icon.svg @@ -1,6 +1,4 @@ - - + version="1.1" + viewBox="0 0 48.000001 48.000001" + height="48" + width="48"> MoLe app icon - - - - - - + inkscape:bbox-nodes="true" + inkscape:snap-bbox="true" + inkscape:pagecheckerboard="true" + inkscape:window-maximized="1" + inkscape:window-y="0" + inkscape:window-x="0" + inkscape:window-height="1022" + inkscape:window-width="1920" + showborder="true" + inkscape:snap-object-midpoints="true" + inkscape:guide-bbox="true" + showguides="true" + inkscape:snap-page="true" + showgrid="false" + inkscape:current-layer="layer3" + inkscape:document-units="px" + inkscape:cy="29.274522" + inkscape:cx="31.564456" + inkscape:zoom="6.7245436" + inkscape:pageshadow="2" + inkscape:pageopacity="0.0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base"> - + id="guide1407" + orientation="-1,0" + position="24,-97.820938" /> + id="guide29" + orientation="-1,0" + position="24,-97.820938" /> - + position="-10.658475,24" /> @@ -145,86 +92,92 @@ + inkscape:groupmode="layer"> + x="0" + height="48" + width="48" + id="rect5267" + style="opacity:1;fill:#935ff2;fill-opacity:1;stroke:none;stroke-width:3.12;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.0885827;stroke-opacity:1;paint-order:markers stroke fill" /> - - - - - - - - - + id="layer1" + inkscape:groupmode="layer" + inkscape:label="Layer 1"> + + + + + + + + + + + diff --git a/tools/populate-app-icon b/tools/populate-app-icon index a8005316..c796b825 100755 --- a/tools/populate-app-icon +++ b/tools/populate-app-icon @@ -12,7 +12,7 @@ gen_icons() { while read size name; do DST_DIR="$RES_DIR/mipmap-$name" mkdir -p "$DST_DIR" - DST="$DST_DIR/app_icon.png" + DST="$DST_DIR/ic_launcher.png" rsvg-convert --background-color none "$ICON_ART" -w $size -h $size \ -o "$DST" optipng "$DST"