<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#EAEAEA"/>
<corners android:bottomLeftRadius="5dip"
android:topRightRadius="5dip"
android:topLeftRadius="5dip"
android:bottomRightRadius="5dip"
/>
</shape>
如何將我的gradient image
設置爲我的按鈕的背景。我看到一個屬性漸變,但看不到任何其中包含背景的屬性。Android:設置按鈕的自定義漸變
注意:我是非常新的Android開發。