Fix identical bitmaps across various configurations
No need to put mdpi images into drawable/ directory since F-Droid does not support Android 1.5. This fixes appropriate warning from lint.
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 85 B |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.5 KiB |
@ -15,11 +15,10 @@ function usage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function download {
|
function download {
|
||||||
REMOTE_DRAWABLE_DIR=$1
|
DRAWABLE_DIR=$1
|
||||||
LOCAL_DRAWABLE_DIR=$2
|
|
||||||
FILE="ic_${ICON}_24dp.png"
|
FILE="ic_${ICON}_24dp.png"
|
||||||
URL="$BASE_URL/$CATEGORY/$REMOTE_DRAWABLE_DIR/$FILE"
|
URL="$BASE_URL/$CATEGORY/$DRAWABLE_DIR/$FILE"
|
||||||
DIR="$RES_DIR/$LOCAL_DRAWABLE_DIR"
|
DIR="$RES_DIR/$DRAWABLE_DIR"
|
||||||
|
|
||||||
if [ ! -d $DIR ]
|
if [ ! -d $DIR ]
|
||||||
then
|
then
|
||||||
@ -60,10 +59,9 @@ then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
download drawable-mdpi drawable
|
|
||||||
for SCREEN in $SCREENS
|
for SCREEN in $SCREENS
|
||||||
do
|
do
|
||||||
download "drawable-$SCREEN" "drawable-$SCREEN"
|
download "drawable-$SCREEN"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|