答案 0 :(得分:2)
答案 1 :(得分:0)
是的,确定。为什么不呢?
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:right="5dp">
<shape android:shape="rectangle">
<solid android:color="#55FF55"/>
<size
android:width="5dp"
android:height="5dp"/>
<corners
android:bottomLeftRadius="5dp"
android:topLeftRadius="5dp"/>
</shape>
</item>
<item android:left="5dp">
<shape
android:shape="rectangle">
<solid android:color="#FFFF00"/>
<size
android:width="5dp"
android:height="5dp"/>
<corners
android:bottomRightRadius="5dp"
android:topRightRadius="5dp"/>
</shape>
</item>
<item android:top="5dp">
<shape
android:shape="rectangle">
<solid android:color="#555555"/>
<size
android:width="5dp"
android:height="5dp"/>
<corners
android:bottomLeftRadius="5dp"
android:bottomRightRadius="5dp"/>
</shape>
</item>
<item
android:right="5dp"
android:top="5dp">
<shape
android:shape="rectangle">
<solid android:color="#FF0000"/>
<size
android:width="5dp"
android:height="5dp"/>
<corners
android:bottomLeftRadius="5dp"/>
</shape>
</item>
<!-- Look out! -->
<item>
<shape android:shape="oval">
<size
android:width="10dp"
android:height="10dp"/>
<stroke
android:width="1dp"
android:color="#000000"/>
</shape>
</item>
<!-- You might wanna uncomment this ! -->
<!--<item-->
<!--android:gravity="center">-->
<!--<shape android:shape="oval">-->
<!--<size-->›
<!--android:width="8dp"-->
<!--android:height="8dp"/>-->
<!--<solid android:color="#000000"/>-->
<!--</shape>-->
<!--</item>-->
</layer-list>