To get started:
mkvirtualenv make_drawables
pip install -r requirements.txt
Test: python make_drawables.py --test
Put the src-images in ./src-images
. They must be .png
at this time.
(.svg
and .9.png
support coming soon)
Put the spec as .yaml
file for each source image, indicating the sizes
for each destination folder.
Read the Android Developer's article on (Providing Alternative Resources)[http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources] to understand what the different dpis and screen sizes mean.
Read the (HQ Style Guide Article on the Palette)[https://www.commcarehq.org/styleguide/colors/#palette].