I really appreciate if someone can help me with using how to use shape
drawable as my background xml for my view.

This is what I tried:
But I never get the color. Android always gives me black text on white
background, regardless what color attribute I put.

<?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>

I tried this, but does not work
<shape xmlns:android="http://schemas.android.com/apk/res/android";
                android:shape="rectangle"
                android:color="#6000>

</shape>

I tried , does not work
<shape xmlns:android="http://schemas.android.com/apk/res/android";
                android:shape="rectangle"
                android:background="#6000>
</shape>

I appreciate if someone can help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to