Hi everybody,

my question is really simpe: is it possible to define a MapView with
rounded corners? I know the way to create a(custom) view with rounded
corners: in its xml file I just set the background property of ist
enclosing layout to point to another xml file, where I define a
rounded rectangle shape:


android:background="@drawable/graph_bg_border"


this is graph_bg_border.xml:

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android";>
    <solid android:color="#080535"/>
    <padding android:left="7dp" android:top="7dp"
            android:right="7dp" android:bottom="7dp" />
    <corners android:radius="24dp" />
</shape>

It works fine for layouts, but if I set the background of the MapView
to point to graph_bg_border, nothing happens.
What am I doing wrong?

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to