
Sketch has developed rapidly in recent years with a large number of plugins and free tutorials. This list covers a wide range of UI kits including Android/iOS, wireframe, and web for Sketch. "Ĭonvert ic_launcher.png -resize 144x144 drawable-xxhdpi/ic_launcher.pngĬonvert ic_launcher.png -resize 96x96 drawable-xhdpi/ic_launcher.pngĬonvert ic_launcher.png -resize 72x72 drawable-hdpi/ic_launcher.pngĬonvert ic_launcher.png -resize 48x48 drawable-mdpi/ic_launcher.Top 10 Free Sketch UI Kits for iOS, Android and Web Wireframe in 2018Ī handpicked list of the top 10 Sketch UI kits in 2018. # is distributed under GNU GPL v3 license.Įcho " Creating different dimensions (dips) of "$1". # This free software comes with ABSOLUTELY NO WARRANTY and drawables_dpis_creation.sh my_cool_xxhdpi_image.png drawables_dpis_creation.sh ic_launcher.png # folder and execute it passing the image filename as argument # Place this script, as well as the source image, inside res # creates different dpis resources and the necessary folders # Given an xxhdpi image or an App Icon (launcher), this script and then it will take few seconds and then you will magically get all the variables of the drawables.Ī bash script using ImageMagick (convert) as per CommonsWare's answer:Īdded folder creation and argument check thanks to Kishan Vaghela #!/bin/sh If the origin image is xxhdpi like in my case select "xxhdpi " as "Source Resoultion".

Now select which dimension the origin image is. Now select "the Single " image you want different variations of drawables.Ħ. Now right-click on the drawable folder and navigate to New>Batch Drawable Importĥ. As you can see in the following screencap, there is only one drawable hereĤ. Install the plugin manually as provided in the ReadME 2. I will try to explain the process in step wise basis, so that it will be simple to understand to anyone. If you want quick and easy way visit or they work with iOS as well. You can still follow this answer after installing the plugin manually. The old way of installing the plugin doesn't work anymore but a fork of original plugin is still functional here.
