[英]How to create shapes triangle in android
How to get this effects in android in file.xml? 如何在file.xml中的android中获得此效果?
and 和
You use an xml layer list drawable and put the two rectangles on top of each other. 您使用可绘制的xml图层列表,并将两个矩形相互叠加。 In the corners tag of your xml drawable use the topLeftRadius, topRightRadius, bottomLeftRadius, and bottomRightRadius to control whether each corner is rounded independently.
在xml drawable的corners标记中,使用topLeftRadius,topRightRadius,bottomLeftRadius和bottomRightRadius来控制是否分别对每个角进行圆角处理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.