2
如何合并边框或单梯度both.how到可能吗?
已经尝试过这样的背景形状如下: - shape.xml
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:top="175dp">
<shape android:shape="oval">
<gradient
android:angle="135"
android:startColor="#f56f2c"
android:endColor="#fa9f46"/>
</shape>
</item>
<item
android:bottom="40dp"
>
<shape android:shape="rectangle">
<gradient
android:angle="135"
android:startColor="#f56f2c"
android:endColor="#fa9f46"/>
</shape>
</item>
</layer-list>