我试图在不使用图像作为背景的情况下实现这一目标,希望在xlm drawable中完成
答案 0 :(得分:1)
使用此
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#FFFFFF" />
</shape>
</item>
<item
android:bottom="0dp"
android:left="-200dp"
android:right="-200dp"
android:top="-340dp">
<shape
android:shape="oval">
<solid android:color="@color/dark_orange" />
</shape>
</item>