/Best-Illustrator-To-Android-Exporter-Script

Best script for exporting assets from illustrator to android mipmap/drawable resources(any size to android standard resource size).

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Best Illustrator To Android Exporter Script 1.3.0

Best script for exporting assets from illustrator to android mipmap/drawable resources.
Alt text

Usage

Copy BestIllustratorToAndroidExporterScript.jsx to Adobe Illustrator CS5/Presets/Scripts folder, after done the script will appear in the File > Scripts submenu. Also you can run the script in Illustrator by choosing File > Scripts > Browse.

Options

Image type

    Target type
    ├─── Launcher icons(standard icons - target mdpi width=48px)
    ├─── Action bar, Dialog & Tab icons(target mdpi width=32px)
    ├─── Small Contextual Icons(target mdpi width=16px)
    ├─── Notification icons(target mdpi width=24px)
    |
    ├─── Custom size(target mdpi width=entered custom number)
    └─── Free size drawable(target mdpi width=free)

Icon sizes

    Icon Density
    ├─── ldpi   0.75x
    ├─── mdpi      1x
    ├─── hdpi    1.5x
    ├─── xhdpi     2x
    ├─── xxhdpi    3x
    └─── xxxhdpi   4x

Target type

    Target type
    ├─── Mipmap		/mipmap-mdpi ...
    └─── Drawable	/drawable-mdpi ...

Photoshop Version

Best Photoshop To Android Exporter Script

License

Copyright 2023 Mohammad Yaaghubi

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.