Android shape 环形
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="@android:color/holo_red_dark"/>
<padding android:top="100px" android:bottom="10px"/>
<corners android:radius="106px"/>
<stroke android:width="1px" android:color="#000"/>
</shape>
本文介绍了一种使用AndroidShape进行环形绘制的方法。通过XML定义形状属性,包括颜色、边距、圆角半径和边框宽度等,实现了一个带有深红色填充、黑色边框的环形图形。
187

被折叠的 条评论
为什么被折叠?



