我想創建一個按鈕,類似這樣的。我創造了這樣 如何在android中創建可繪製的按鈕?
可抽拉我創建了一個可繪製像this.`
<!-- Drop Shadow Stack -->
<item>
<shape android:shape="rectangle" >
<padding
android:bottom="3dp"
android:right="3dp" />
<solid android:color="#C0C0C0" />
</shape>
</item>
<!-- Background -->
<item>
<shape android:shape="rectangle" >
<solid android:color="@color/brick" />
</shape>
</item>
但我有一個按鈕,這樣 。 我還需要做什麼?
您可以添加頂部和左填充到後臺 – Androidz 2015-02-11 12:28:30