I've got a view that goes into a listview and would like each to have a 
rounded corners.

For the custom view layout, I set the parent to a RelativeLayout and
and set the background to a shape - that sets rounded corners.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/bg"
    >
    
But the problem is that if inside the view, if i draw to the edges - it 
doesn't
get clipped to the rounded corners.

Any way to force that.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to