I tried using

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android";
    android:shape="oval">
    <stroke android:width="1dip" android:color="#FBBB" />
    <solid android:color="#6000"/>
</shape>

It should gives me a white circle for my view's background.

Any idea?

Thank you.


On Thu, Aug 13, 2009 at 12:34 PM, n179911<[email protected]> wrote:
> Hi,
>
> i specify the following xml as my background for my view. It shows the
> oval, but the color is always white.
>
> I have played around with the android:color field, but the color never
> changes, it is always white.
> I tried "#FF0000", "#ff0000", "#00ff0000"
> Any idea?
>
> Thank you.
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <shape xmlns:android="http://schemas.android.com/apk/res/android";
>    android:shape="oval"
>    android:color="#FF0000"
>>
> </shape>
>

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

Reply via email to