Products: IntelliJ IDEA, Android Studio
Vendor: Marc Prengemann
Email: marcprengemann at gmail.com
Source code: https://github.com/winte...importer-intellij-plugin
License: LICENSE
This plugin consists of four main features. You can access them by a right-click anywhere, but not on a file, inside an Android module under New.
1. AndroidIcons 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.
2. Material Icons Drawable Import
This feature offers basically the same like the AndroidIcons import. You are able to select the asset by category, specify the color, change the target resource name and select all the resolutions you want to import.
3. Scaled Drawable
Select at least one asset and specify the resolution of it. If you want to scale the to be imported image as well, you should select "other" and then fill out the "target resolution" and the "target width / height". Then you can specify all the resolutions, to which the drawable should be resized to.
This works also with 9-Patch-Images. But take care: sometimes it's necessary to remove / add about one "pixel" in the 9-Patch-Editor. But just try it :)
4. 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.
Hint: When you select an asset, you can also just drag a file from your finder / explorer to the text field and drop it there.
1. AndroidIcons 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.
2. Material Icons Drawable Import
This feature offers basically the same like the AndroidIcons import. You are able to select the asset by category, specify the color, change the target resource name and select all the resolutions you want to import.
3. Scaled Drawable
Select at least one asset and specify the resolution of it. If you want to scale the to be imported image as well, you should select "other" and then fill out the "target resolution" and the "target width / height". Then you can specify all the resolutions, to which the drawable should be resized to.
This works also with 9-Patch-Images. But take care: sometimes it's necessary to remove / add about one "pixel" in the 9-Patch-Editor. But just try it :)
4. 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.
Hint: When you select an asset, you can also just drag a file from your finder / explorer to the text field and drop it there.
Version | Compatible builds | Date | |
---|---|---|---|
0.2.1 | 123.72 | 30.01.2015 | Download |
3 updates are hidden show all updates





its really good tool thanx dinesh
ReplyDelete