形状边框中间带有箭头的可绘制形状
Drawable shape with arrow in the middle of the shape border
如何使可绘制文件具有与此图像类似的视图?
这里是图片的解决方案drawabe
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color= "@color/themeColor"></solid>
<size android:width="150dp" android:height="100dp"/>
</shape>
</item>
<item>
<rotate android:fromDegrees="45" android:toDegrees="45"
android:pivotX="12%" android:pivotY="-140%" >
<shape android:shape="rectangle" >
<solid android:color="#ffffff" />
</shape>
</rotate>
</item>
</layer-list>