Consider me an Android noob;
I'm trying to create a custom ListView, that should look something like this ('this' is a custom ListView implemented in BlackBerry, but I want to create the same look and feel on Android):![Custom ListView with rounded corners, implemented on BlackBerry](https://i.stack.imgur.com/M9jSG.png)

I've currently come up with the following Android code and XML, but it doesn't change the looks of the standard ListView:

The code:

```
public class RoundedListView extends ListView
{
    public RoundedListView(Context context) {
        super(context);
        // TODO Auto-generated constructor stub
    }

    public RoundedListView(Context context, AttributeSet attrs) {
        super(context, attrs);
        // TODO Auto-generated constructor stub
    }

    public RoundedListView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        // TODO Auto-generated constructor stub
    }

    public void onDraw(Canvas canvas)
    {       
        Paint paint = new Paint();
        paint.setColor(Color.CYAN);

        canvas.drawRect(10, 10, 10, 10, paint);
        canvas.drawColor(Color.YELLOW);

        super.onDraw(canvas);
    }
}

```

The XML (main.xml):

```
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <com.gravityzoo.android.containers.RoundedListView 
        android:layout_height="wrap_content" 
        android:id="@+id/listView1" 
        android:layout_width="match_parent">
    </com.gravityzoo.android.containers.RoundedListView>
</LinearLayout>

```

Does anyone know how to make this simple drawing function working?
Thanks in advance!