Hi,
I am following the instruction here:
http://developer.android.com/guide/topics/resources/drawable-resource.html

and I am trying to draw a rectangle with only 2 rounded corners.

Here is my xml

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android";>

        <corners android:radius="15dp" android:bottomRightRadius="0dp"
                 android:bottomLeftRadius="0dp" />
        <gradient android:angle="90" android:startColor="#c45209"
                android:endColor="#edb18c" android:centerColor="#ea6814" />
</shape>

I tried many variations, with or without the android:radius attribute
but no luck.
Any suggestions?
Thanks,
Lior

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