Android Drawable Importer

Compatible with: IntelliJ IDEA Android Studio
20.11.2016
232 812
This plugin consists of three main features. You can access them by a right-click anywhere, but not on a file, inside an Android module under New.

1. AndroidIcons and Material Icons Drawable Import
You are able to select the asset, specify your color, change the target resource name and select all the resolutions you want to import.
All the missing folders will be created automatically. If there are already drawables with the same name, you will be warned. You can even search for your desired asset by just start typing when the first spinner has focus.
Since Material Icons provide also Vector Drawables, those can be imported now as well!

2. Batch Drawable Import
Select assets (or a whole folder) and specify the source resolutions. You can change the source size of every image as well. Specify all resolutions, to which it should be resized to.
This works also with 9-Patch-Images. But take care: sometimes it's necessary to remove / add the one or other "pixel" in the 9-Patch-Editor. But just give it a try :)

3. Multisource-Drawable
Ever got a zip with drawables for your Android project by your designer with the following structure?

root/
./drawable_ldpi.png
./drawable_mdpi.png
./drawable_hdpi.png
./drawable_xhdpi.png

No problem! Now you can just select for every resolution a different asset, specify one name for them, and the rest is done by the plugin.
Or even easier, you can select the whole zip, and this plugin will auto extract the asset to the best matching folder.

Hint: When you select an asset, you can also just drag a file from your explorer to the text field and drop it there.

Download plugin

Recent change notes

- Various Bug Fixes