我真的很感激,如果有人可以幫助我使用形狀可繪製作爲我的背景xml爲我的看法。使用形狀可繪製作爲我的背景xml
這就是我試過的: 但我從來沒有得到的顏色。無論我放置什麼顏色屬性,Android總是在白色背景上給我黑色文本。
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:width="1dip" android:color="#FBBB" />
<solid android:color="#6000"/>
</shape>
我試過了,不行
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:color="#6000>
</shape>
我試過了,不行
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:background="#6000>
</shape>
我谷歌,這是有限的結果,我發現去嘗試。
你的形狀的例子在這裏工作。您可能沒有在視圖 – 2009-10-07 18:16:00
@ n179911中正確設置它:請不要使用以下字詞開頭:help in ...我們已經知道您在尋找幫助 – Casebash 2010-05-05 22:53:13