diff --git a/graphics/beta/ic_launcher_monochrome_sc.xml b/graphics/beta/ic_launcher_monochrome_sc.xml new file mode 100644 index 0000000000..3376769231 --- /dev/null +++ b/graphics/beta/ic_launcher_monochrome_sc.xml @@ -0,0 +1,39 @@ + + + + + + + + diff --git a/graphics/ic_launcher_monochrome_sc.xml b/graphics/ic_launcher_monochrome_sc.xml new file mode 100644 index 0000000000..7e1c7589e5 --- /dev/null +++ b/graphics/ic_launcher_monochrome_sc.xml @@ -0,0 +1,39 @@ + + + + + + + + diff --git a/graphics/icon_gen.sh b/graphics/icon_gen.sh index cf71cbad80..ac6318522c 100755 --- a/graphics/icon_gen.sh +++ b/graphics/icon_gen.sh @@ -1,4 +1,5 @@ #!/bin/bash +# note: this requires inkscape to be on the path, for svg -> png conversions mydir="$(dirname "$(realpath "$0")")" @@ -43,10 +44,17 @@ file="$mydir/ic_launcher_sc.svg" export_files + dpi=48 # 96/2 file="$mydir/ic_launcher_foreground_sc.svg" export_files +# As this is just for API > 33, we don't need to export to png mipmaps, we can just directly use the drawable +monochrome_file_name="ic_launcher_monochrome_sc.xml" +monochrome_input_file="$mydir/$monochrome_file_name" +monochrome_output_dir="$mydir/../vector-app/src/main/res/drawable-anydpi-v26" +cp "$monochrome_input_file" "$monochrome_output_dir/$monochrome_file_name" + inkscape "$mydir/feature_image.svg" --export-filename="$mydir/../fastlane/metadata/android/en-US/images/featureGraphic.png" -C --export-dpi=96 inkscape "$mydir/store_icon.svg" --export-filename="$mydir/../fastlane/metadata/android/en-US/images/icon.png" -C --export-dpi=96 diff --git a/vector-app/src/main/res/drawable-anydpi-v26/ic_launcher_monochrome_sc.xml b/vector-app/src/main/res/drawable-anydpi-v26/ic_launcher_monochrome_sc.xml new file mode 100644 index 0000000000..7e1c7589e5 --- /dev/null +++ b/vector-app/src/main/res/drawable-anydpi-v26/ic_launcher_monochrome_sc.xml @@ -0,0 +1,39 @@ + + + + + + + + diff --git a/vector-app/src/main/res/mipmap-anydpi-v26/ic_launcher_sc.xml b/vector-app/src/main/res/mipmap-anydpi-v26/ic_launcher_sc.xml index d91ea03322..e620e3daf4 100644 --- a/vector-app/src/main/res/mipmap-anydpi-v26/ic_launcher_sc.xml +++ b/vector-app/src/main/res/mipmap-anydpi-v26/ic_launcher_sc.xml @@ -2,4 +2,5 @@ +