Trying to add Imageview to canvas via FrameLayout.addView();
<p>I can add this logo to the canavas if I do this:</p>

<pre><code>FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(200,200);

ImageView boo = new ImageView(ExampletouchActivity.this);
boo.setImageResource(R.drawable.ic_launcher);
boo.setLayoutParams(lp);
fr.addView(boo); //this works fine
</code></pre>

<p>But if I try to add the same logo to the canvas like this it does not show anything up:</p>

<pre><code>fr.addView(new Toucher(ExampletouchActivity.this));
</code></pre>

<p>My Toucher class is like so...</p>

<pre><code>public class Toucher extends View{
ImageView boo;

public Toucher(Context context) 
{
    super(context);
    FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(200,200);
    boo = new ImageView(context);
    boo.setImageResource(R.drawable.ic_launcher);
    boo.setLayoutParams(lp);
}
@Override
public void onDraw(Canvas c)
{   
    boo.draw(c);
}
</code></pre>

<p>I have been trying for ages and cannot work out why this imageview will not draw itself to the canvas?</p>

<p>Many Thanks</p>
