Android 创建自定义可绘制形状
我想创建如下图所示的形状矩形。 我该怎么办? 致以最良好的问候 使用Android 创建自定义可绘制形状,android,android-shape,android-shapedrawable,Android,Android Shape,Android Shapedrawable,我想创建如下图所示的形状矩形。 我该怎么办? 致以最良好的问候 使用 见以下输出: <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="8dp" android:viewportWidth="24.0" android:viewportHeight="50.0"> <p
见以下输出:
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="8dp"
android:viewportWidth="24.0"
android:viewportHeight="50.0">
<path
android:fillColor="#8CCC13"
android:pathData="M24 24v-24h-24v24a20 36 0 0 1 24 0z" />
</vector>