Skip to content

Instantly share code, notes, and snippets.

View tomriddle25's full-sized avatar

Faisal tomriddle25

View GitHub Profile
@tomriddle25
tomriddle25 / converter.sh
Created February 20, 2020 07:22 — 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-xxhdpi
mkdir -p drawable-xhdpi
mkdir -p drawable-hdpi
mkdir -p drawable-mdpi
if [ $1 = "ic_launcher.png" ]; then