是否可以将 TextView 分割为两个三角形区域?
如何像图像一样创建三角形 TextView(就像矩形的一半)
我需要将一个 TextView(矩形形状拆分为两个互补的三角形文本视图) 喜欢
这是否可能,有人可以给我建议如何做到这一点吗?
How to create triangular TextView ( to llok like half of rectangle ) like on image
I need to split one TextView ( rectangular shape to two complement triangular textviews)
like
Is this possible at all, can somebody give me advice how to do this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为该文本视图使用适当的背景,您应该能够实现这一目标。使用 9 块图像来指定适当的填充和要标记为可拉伸的区域。
Use a proper background for that textview and you should be able to achieve this. Use a 9-patch image which specifies the proper padding and the areas to be marked as stretchable.