One*_*rld 16 android nine-patch android-layout
在Draw 9-patch中,一切看起来都很好.但是,我的SDK说9补丁png格式不正确.因为我有类似11补丁png的东西.因为我不希望缩小抓取区域.如何让它工作?截图描述了一切:

控制台中的错误消息:
ERROR: 9-patch image /res/drawable-hdpi/top_complete.9.png malformed.
Can't have more than one marked region along edge.
Found at pixel #10 along bottom edge.
ERROR: Failure processing PNG image /res/drawable-hdpi/top_complete.9.png
Run Code Online (Sandbox Code Playgroud)
col*_*ium 33
我相信你的问题是你将内容区域分成两部分是不允许的.工具对顶部和左边框的处理方式与底部和右边框的处理方式不同.顶部和左侧描述了可伸展的内容,底部和右侧定义了内容区域(必须是连续的).
选中复选框以显示内容区域并使用它来查看我正在谈论的内容.
