ShapeDrawable on linearlayout
<p>I took this example from Android.com and I want to draw shapes but rather then drawing in the main view I what to draw it on part of a view.  Can I draw upon a linearlayout on a bottom part of a view?</p>

<pre><code>public class CustomDrawableView extends View {
private ShapeDrawable mDrawable;

public CustomDrawableView(Context context) {
super(context);

int x = 10;
int y = 10;
int width = 300;
int height = 50;

    mDrawable = new ShapeDrawable(new OvalShape());
    mDrawable.getPaint().setColor(0xff74AC23);
    mDrawable.setBounds(x, y, x + width, y + height);
}

protected void onDraw(Canvas canvas) {
    mDrawable.draw(canvas);
}
</code></pre>

<p>}</p>
