我有一系列图像,我想用它们作为九个补丁来表示按钮的不同状态。是否有命令行工具将边框像素从一个.png
复制到下一个{{1}}?它可以节省我一个小时的点击次数。
答案 0 :(得分:1)
Roman Nurik的Android Asset Studio是一套工具,可以减轻Android开发人员和设计人员所需的一些任务。有一段时间它是在Eclipse ADT插件中:http://tools.android.com/recent/assetstudiointegration
从这里开始: https://github.com/romannurik/AndroidAssetStudio
对于Nine Patch相关内容,您应该看看Simple Nine Patch Generator:
http://romannurik.github.io/AndroidAssetStudio/nine-patches.html
并查看它是否有帮助。