Skip to content

Instantly share code, notes, and snippets.

@granoeste
granoeste / 9patchvalidation.sh
Created November 20, 2015 06:49
[Android] 9-Patch Validation
# ----------------------------------------------------------------
# Verifies the 9patch using aapt command
# ----------------------------------------------------------------
$ aapt
...
aapt c[runch] [-v] -S resource-sources ... -C output-folder ...
Do PNG preprocessing on one or several resource folders
and store the results in the output folder.
aapt s[ingleCrunch] [-v] -i input-file -o outputfile