add gradle support
fix bad nine-patch picture
remove a useless importting for inner class