Merge pull request #1540 from k9mail/vector-drawables
Use vector drawables for all OpenPGP icons
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 765 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 995 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
@ -1,37 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP_DIR=../k9mail/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
|
||||
SRC_DIR=./drawables-pgp/
|
||||
|
||||
|
||||
for NAME in "bullet_point_positive" "bullet_point_negative" "compatibility" "status_lock" "status_lock_closed" "status_lock_error" "status_lock_open" "status_lock_disabled" "status_lock_opportunistic" "status_signature_expired_cutout" "status_signature_invalid_cutout" "status_signature_revoked_cutout" "status_signature_unknown_cutout" "status_signature_unverified_cutout" "status_signature_verified_cutout"
|
||||
do
|
||||
echo $NAME
|
||||
inkscape -w 24 -h 24 -e "$MDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 32 -h 32 -e "$HDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 48 -h 48 -e "$XDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 64 -h 64 -e "$XXDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
done
|
||||
|
||||
for NAME in "status_none_dots_1" "status_none_dots_2" "status_none_dots_3" "status_check_dots_1" "status_check_dots_1" "status_check_dots_3" "status_dots" "status_lock_none_dots_1" "status_lock_disabled_dots_1" "status_lock_dots_1" "status_lock_error_dots_1" "status_lock_dots_2" "status_lock_dots_3"
|
||||
do
|
||||
echo $NAME
|
||||
inkscape -w 36 -h 24 -e "$MDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 48 -h 32 -e "$HDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 72 -h 48 -e "$XDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 96 -h 64 -e "$XXDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
done
|
||||
|
||||
for NAME in "status_dots_1" "status_dots_2" "status_dots_3"
|
||||
do
|
||||
echo $NAME
|
||||
inkscape -w 12 -h 24 -e "$MDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 16 -h 32 -e "$HDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 24 -h 48 -e "$XDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
inkscape -w 32 -h 64 -e "$XXDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
|
||||
done
|
Before Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 614 B |
Before Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 902 B |
Before Width: | Height: | Size: 928 B |
Before Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 439 B |
Before Width: | Height: | Size: 527 B |
Before Width: | Height: | Size: 675 B |
Before Width: | Height: | Size: 754 B |
Before Width: | Height: | Size: 771 B |
Before Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 768 B |
Before Width: | Height: | Size: 858 B |
Before Width: | Height: | Size: 748 B |
Before Width: | Height: | Size: 799 B |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 675 B |
Before Width: | Height: | Size: 654 B |
Before Width: | Height: | Size: 376 B |
Before Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 578 B |
Before Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 861 B |
Before Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 813 B |
Before Width: | Height: | Size: 695 B |
Before Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 671 B |
Before Width: | Height: | Size: 722 B |
Before Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 458 B |
Before Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 417 B |
Before Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 616 B |
Before Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 681 B |
Before Width: | Height: | Size: 622 B |
Before Width: | Height: | Size: 620 B |
Before Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 482 B |
Before Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 685 B |
Before Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 557 B |
Before Width: | Height: | Size: 578 B |
Before Width: | Height: | Size: 663 B |
Before Width: | Height: | Size: 875 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |