For Titanium-developers: you might be aware that if you want to use density-specific resources on Android (like @2x on iOS), you need to use the special android-folder in Resources.
In a recent project I made a bash-script to make this easier. This script will copy all resources from Resources/iphone/images to Resources/android/images, and move them around so you get a XHDPI-, HDPI- and MDPI-folder.
It currently has some limitations though, that I might resolve in the future if needed:
- You must provide an @2x file on iOS, even when it might not be required.
- This script will remove Resources/android/images before copying, which might be an annoyance if you have Andorid-specific images.
- It doesn’t care if there hasn’t been any changes to an image.
If this isn’t a problem for you, or if you think you can modify the script to fit your needs, you can find it in a gist here.