Drawing into scrollView
<p>my problem I know is simple, but for the life of me I cant get an answer...</p>

<p>I have a LinearLayout that got a scrollview inside it... in the scroll view (in code) it should call a custom ScrollView to show on the application... it only shows black, nothing in it... here is my code</p>

<p>first the xml... simple LL with a textview, scrollview and button</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
&gt;

&lt;TextView android:layout_height="wrap_content" 
android:id="@+id/textView1" 
 android:layout_width="wrap_content" 
android:text="test field" android:layout_alignParentTop="true"/&gt;           

&lt;ScrollView android:layout_width="600dp"
android:layout_height="300dp"
android:id="@+id/v1"
android:fillViewport="true"/&gt;

&lt;Button android:layout_width="wrap_content" 
android:layout_height="wrap_content" 
android:id="@+id/gfx"
android:text="Gfx" 
&gt;&lt;/Button&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>Now the onCreate of that activity</p>

<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    requestWindowFeature(Window.FEATURE_NO_TITLE);

    cw = getWindowManager().getDefaultDisplay().getWidth();
    ch = getWindowManager().getDefaultDisplay().getHeight();

    v = Draw2d findViewById(R.id.v1);

    context = this;
    setContentView(R.layout.gfx);

    mDbHelper = new DbAdapter(this);
    mDbHelper.open();

}
</code></pre>

<p>Draw2d is the class of the custom scrollView declared like so (it does have onDraw and everything. If I set the contentview to the Draw2d object directly it'll show no problem, but I need it withen a LL)</p>

<pre><code>public static class Draw2d extends ScrollView{  
        public Draw2d(Context context) {
            super(context);

        }  
</code></pre>

<p>Please any help is appreciated</p>
