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>