Cannot render an xml layout with LayoutInfalter. What I'm doing wrong?
<p>I need to show a layout from xml file and draw some vector based image on top of that. If code below is executed then everything is shown but the layout. Why? What I'm doing wrong?</p>

<pre><code>public class About extends Activity 
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.about); 
    setContentView(new GraphicsView(this));
}

public class GraphicsView extends View
{
    public GraphicsView(Context context)
    {
        super(context);                 
    }
    @Override
    protected void onDraw(Canvas canvas)
    {
        Context context;
        context=getContext();

        View aview; 

        LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);    
        aview = inflater.inflate(R.layout.about, null);                 

        aview.draw(canvas);

        Path circle = new Path();
        Paint cPaint = new Paint(); 
        cPaint.setColor(Color.LTGRAY);
        circle.addCircle(150, 150, 100, Direction.CW);
        canvas.drawPath(circle, cPaint);
        cPaint.setColor(Color.RED);
        canvas.drawTextOnPath("Some stupid text", circle, 0, 20, cPaint);
    }
}
</code></pre>

<p>}</p>
