<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:innerRadiusRatio="3"
android:shape="ring"
android:thicknessRatio="8"
android:useLevel="false" >
<size
android:height="48dip"
android:width="48dip" />
<gradient
android:centerColor="#4c737373"
android:centerY="0.50"
android:endColor="#ffffd300"
android:startColor="#4c737373"
android:type="sweep"
android:useLevel="false" />
</shape>
我的效果

网上的效果

为什么我的中间不是空的
------解决方案--------------------
用代码倒是好实现 有个stroke mode之类的东西
------解决方案--------------------
是不是你系统版本的问题啊