Skip to content

Instantly share code, notes, and snippets.

View oneWaveAdrian's full-sized avatar
🌊

Adrian oneWaveAdrian

🌊
View GitHub Profile
@oneWaveAdrian
oneWaveAdrian / converter.sh
Last active November 8, 2020 15:14 — forked from Kishanjvaghela/converter.sh
Create Image drawable for all resolutions
if [ $# -eq 0 ]; then
echo "No arguments supplied"
else if [ -f "$1" ]; then
echo " Creating different dimensions (dips) of "$1" ..."
mkdir -p drawable-xxxhdpi
mkdir -p drawable-xxhdpi
mkdir -p drawable-xhdpi
mkdir -p drawable-hdpi
mkdir -p drawable-mdpi
mkdir -p drawable-ldpi