Android 要使3个圆与图中所示相同,但只有一个斯托克在圆形状xml中不起作用,我该如何计算?

Android 要使3个圆与图中所示相同,但只有一个斯托克在圆形状xml中不起作用,我该如何计算?,android,xml,shape,geometry,Android,Xml,Shape,Geometry,`试试下面的代码,你可以画4个圆圈 <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="oval"> <solid android:color="#56ECFC"/> <size android:width="400dp" android:height



`

试试下面的代码,你可以画4个圆圈

 <selector xmlns:android="http://schemas.android.com/apk/res/android">

 <item>
    <shape android:shape="oval">
        <solid android:color="#56ECFC"/>

        <size android:width="400dp" android:height="400dp"/>

        <stroke android:color="#62DEF5" android:width="30dp"/>

        <stroke android:color="#4CCCF7" android:width="25dp"/>

    </shape>

 </item>


试试下面的代码,你可以画4个圆圈

 <selector xmlns:android="http://schemas.android.com/apk/res/android">

 <item>
    <shape android:shape="oval">
        <solid android:color="#56ECFC"/>

        <size android:width="400dp" android:height="400dp"/>

        <stroke android:color="#62DEF5" android:width="30dp"/>

        <stroke android:color="#4CCCF7" android:width="25dp"/>

    </shape>

 </item>


我认为你需要使用图层,也许这会有帮助,我认为你需要使用图层,也许这会有帮助,我想笔划是不需要的。你可以简化你的绘图。不管怎样,+1。这是正确的答案。谢谢你的建议@Rotwang z-order在这里是如何工作的……不管怎样,它工作起来了。谢谢你的帮助。@GauravRai我没有得到uThe
z-order
在顶部和底部工作。添加的最后一项是最接近观察者的。我想笔划是不需要的。你可以简化你的绘图。不管怎样,+1。这是正确的答案。谢谢你的建议@Rotwang z-order在这里是如何工作的……不管怎样,它工作起来了。谢谢你的帮助。@GauravRai我没有得到uThe
z-order
在顶部和底部工作。添加的最后一项距离观察者最近。