Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我为什么模拟器中出现黑色边框,以及如何删除它们?
沿上边缘和左边缘添加黑线,如果您在任何一侧缺少黑色,则可能是设备不接受它作为有效的九补丁。
这可能与在黑线中有“间隙”的九个补丁似乎在编辑器中工作,但在设备上不起作用。
编辑:正如@ByteMe 在评论中所说,确保.9.png文件名末尾有 。
.9.png
当我遇到这个问题时,是因为我忘记重命名图像!如果您使用 Google 提供的工具制作 draw9,这应该不是问题……但值得仔细检查!
图像应命名为* .9.png