Android - shape不完整的圆环(ring)

shape不完整的圆环(ring)


本文地址: http://blog.csdn.net/caroline_wendy


本文的合集已经编著成书,《高级Android开发强化实战》,欢迎各位读友的建议和指导。

在京东即可购买:https://item.jd.com/12385680.html



Android不仅可以画圆环(ring), 也可以使用属性"android:thicknessRatio", 画不完整的圆环.
thicknessRatio属性值设为浮点小数, 如1.9, 即可以得到不完整的圆环.

代码:




    

    

    




你可能感兴趣的:(Android基础)