<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="40dp"
android:height="40dp"
android:viewportHeight="100"
android:viewportWidth="100">
<group android:name="triableGroup">
<path
android:name="triangle"
android:fillColor="@color/colorPrimary"
android:pathData="m 0,0 l 100,0 -100,100 z" />
</group>
</vector>
我想创建这种类型的形状,但我尝试了很多次都失败了。