有没有办法在xml文件中指定三角形?
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="triangle">
<stroke android:width="1dip" android:color="#FFF" />
<solid android:color="#FFF" />
</shape>
Run Code Online (Sandbox Code Playgroud)
我们可以用路径形状做什么吗?我只需要一个等边三角形.
谢谢