From 5517b4f8cf471c29dd881baec58efd450f6cd5ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Wed, 14 Jan 2015 02:03:20 +0100 Subject: Launcher icon fixes --- Resources/graphics/update-drawables.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'Resources/graphics/update-drawables.sh') diff --git a/Resources/graphics/update-drawables.sh b/Resources/graphics/update-drawables.sh index b8d2ffc88..f5c84a6bd 100755 --- a/Resources/graphics/update-drawables.sh +++ b/Resources/graphics/update-drawables.sh @@ -1,7 +1,6 @@ #!/bin/bash APP_DIR=../../OpenKeychain/src/main -LDPI_DIR=$APP_DIR/res/drawable-ldpi MDPI_DIR=$APP_DIR/res/drawable-mdpi HDPI_DIR=$APP_DIR/res/drawable-hdpi XDPI_DIR=$APP_DIR/res/drawable-xhdpi @@ -12,7 +11,6 @@ PLAY_DIR=./ # Launcher Icon: # ----------------------- -# ldpi: 36x36 # mdpi: 48x48 # hdpi: 72x72 # xhdpi: 96x96 @@ -20,15 +18,16 @@ PLAY_DIR=./ # xxxhdpi 192x192. # google play: 512x512 -NAME="ic_launcher" +# Adobe Illustrator (.ai) exports by Tha Phlash are way better than the Inkscape exports (.svg) -inkscape -w 36 -h 36 -e "$LDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 48 -h 48 -e "$MDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 72 -h 72 -e "$HDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 96 -h 96 -e "$XDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 144 -h 144 -e "$XXDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 192 -h 192 -e "$XXXDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 512 -h 512 -e "$PLAY_DIR/$NAME.png" $NAME.svg +#NAME="ic_launcher" + +#inkscape -w 48 -h 48 -e "$MDPI_DIR/$NAME.png" $NAME.svg +#inkscape -w 72 -h 72 -e "$HDPI_DIR/$NAME.png" $NAME.svg +#inkscape -w 96 -h 96 -e "$XDPI_DIR/$NAME.png" $NAME.svg +#inkscape -w 144 -h 144 -e "$XXDPI_DIR/$NAME.png" $NAME.svg +#inkscape -w 192 -h 192 -e "$XXXDPI_DIR/$NAME.png" $NAME.svg +#inkscape -w 512 -h 512 -e "$PLAY_DIR/$NAME.png" $NAME.svg # Actionbar Icons # ----------------------- -- cgit v1.2.3 From f397d4f995451850f25080d0f84c77ba2aaa4f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Wed, 14 Jan 2015 14:52:23 +0100 Subject: Reorganize folders of graphics sources --- Resources/graphics/update-drawables.sh | 73 ---------------------------------- 1 file changed, 73 deletions(-) delete mode 100755 Resources/graphics/update-drawables.sh (limited to 'Resources/graphics/update-drawables.sh') diff --git a/Resources/graphics/update-drawables.sh b/Resources/graphics/update-drawables.sh deleted file mode 100755 index f5c84a6bd..000000000 --- a/Resources/graphics/update-drawables.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash - -APP_DIR=../../OpenKeychain/src/main -MDPI_DIR=$APP_DIR/res/drawable-mdpi -HDPI_DIR=$APP_DIR/res/drawable-hdpi -XDPI_DIR=$APP_DIR/res/drawable-xhdpi -XXDPI_DIR=$APP_DIR/res/drawable-xxhdpi -XXXDPI_DIR=$APP_DIR/res/drawable-xxxhdpi -PLAY_DIR=./ - - -# Launcher Icon: -# ----------------------- -# mdpi: 48x48 -# hdpi: 72x72 -# xhdpi: 96x96 -# xxhdpi: 144x144. -# xxxhdpi 192x192. -# google play: 512x512 - -# Adobe Illustrator (.ai) exports by Tha Phlash are way better than the Inkscape exports (.svg) - -#NAME="ic_launcher" - -#inkscape -w 48 -h 48 -e "$MDPI_DIR/$NAME.png" $NAME.svg -#inkscape -w 72 -h 72 -e "$HDPI_DIR/$NAME.png" $NAME.svg -#inkscape -w 96 -h 96 -e "$XDPI_DIR/$NAME.png" $NAME.svg -#inkscape -w 144 -h 144 -e "$XXDPI_DIR/$NAME.png" $NAME.svg -#inkscape -w 192 -h 192 -e "$XXXDPI_DIR/$NAME.png" $NAME.svg -#inkscape -w 512 -h 512 -e "$PLAY_DIR/$NAME.png" $NAME.svg - -# Actionbar Icons -# ----------------------- -# mdpi: 32x32 -# hdpi: 48x48 -# xhdpi: 64x64 -# xxhdpi: 96x96 - -for NAME in "ic_action_nfc" "ic_action_qr_code" "ic_action_safeslinger" "ic_action_search_cloud" -do -echo $NAME -inkscape -w 32 -h 32 -e "$MDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 48 -h 48 -e "$HDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 64 -h 64 -e "$XDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 96 -h 96 -e "$XXDPI_DIR/$NAME.png" $NAME.svg -done - -for NAME in status*.svg -do -echo $NAME -inkscape -w 24 -h 24 -e "$MDPI_DIR/${NAME%%.*}.png" $NAME -inkscape -w 32 -h 32 -e "$HDPI_DIR/${NAME%%.*}.png" $NAME -inkscape -w 48 -h 48 -e "$XDPI_DIR/${NAME%%.*}.png" $NAME -inkscape -w 64 -h 64 -e "$XXDPI_DIR/${NAME%%.*}.png" $NAME -done - -for NAME in key_flag*.svg -do -echo $NAME -inkscape -w 24 -h 24 -e "$MDPI_DIR/${NAME%%.*}.png" $NAME -inkscape -w 32 -h 32 -e "$HDPI_DIR/${NAME%%.*}.png" $NAME -inkscape -w 48 -h 48 -e "$XDPI_DIR/${NAME%%.*}.png" $NAME -inkscape -w 64 -h 64 -e "$XXDPI_DIR/${NAME%%.*}.png" $NAME -done - -for NAME in "create_key_robot" -do -echo $NAME -inkscape -w 48 -h 48 -e "$MDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 64 -h 64 -e "$HDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 96 -h 96 -e "$XDPI_DIR/$NAME.png" $NAME.svg -inkscape -w 128 -h 128 -e "$XXDPI_DIR/$NAME.png" $NAME.svg -done \ No newline at end of file -- cgit v1.2.3