android 9 补丁drawable xml
有没有办法在 android xml 文件中定义 9 patch 可绘制对象?我问的原因是,当您将缩放动画应用于带有笔划的可绘制对象时,笔划看起来会变粗。我想让笔画与动画播放时的大小保持相同......
Is there a way to define a 9 patch drawable in an android xml file? The reason I ask, is that when you apply a scale animation to a drawable w/ a stroke on it, the stroke appears to thicken. I'd like to make the stroke stay the same size as the animation plays...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,但这主要是为了定义 9 色块的抖动。
下面是一个示例:
有关详细信息,请参阅文档
Yes, but this is done mostly to define dithering for the 9-patch.
Here's an example:
For more information see the documentation