左三角
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<rotate
android:fromDegrees="45"
android:pivotX="85%"
android:pivotY="135%">
<shape android:shape="rectangle">
<size
android:width="16dp"
android:height="16dp" />
<solid android:color="#7d72ff" />
</shape>
</rotate>
</item>
</layer-list>
右三角
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<rotate
android:fromDegrees="45"
android:pivotX="15%"
android:pivotY="-35%">
<shape android:shape="rectangle">
<size
android:width="16dp"
android:height="16dp" />
<solid android:color="#7d72ff" />
</shape>
</rotate>
</item>
</layer-list>
正三角
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate
android:fromDegrees="45"
android:pivotX="-40%"
android:pivotY="80%">
<shape android:shape="rectangle">
<size
android:width="16dp"
android:height="16dp"/>
<solid android:color="#7d72ff"/>
</shape>
</rotate>
</item>
</layer-list>
倒三角
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate
android:fromDegrees="45"
android:pivotX="135%"
android:pivotY="15%">
<shape android:shape="rectangle">
<size
android:width="16dp"
android:height="16dp"/>
<solid android:color="#7d72ff"/>
</shape>
</rotate>
</item>
</layer-list>
网友评论