Hi,
I'm trying to figure out how to custom draw a SurfaceView which is
defined in the layout XML.

My main.xml looks like this:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <SurfaceView
            android:id="@+id/surface"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"/>
</LinearLayout>

If I was creating the SurfaceView from "code behind" I could override
the OnDraw. But what can I do now in order to draw the view's surface?

Thanks :-)

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to