Hello,
I'm spending hard time for switching GLSurfaceView and regular view.
for doing it, i just tried as sample code provided.

if(__IsGLView)
{
        System.out.println("__IsGLView is true");
        __GLView.setFocusable(false);
        __GLView.setFocusableInTouchMode(false);

        __currActivity.setContentView(__StaticView);

        __StaticView.setFocusable(true);
        __StaticView.setFocusableInTouchMode(true);

        __IsGLView = false;

}
else
{
        System.out.println("__IsGLView is false");
        __StaticView.setFocusable(false);
        __StaticView.setFocusableInTouchMode(false);

        __currActivity.setContentView(__GLView);

        __GLView.setFocusable(true);
        __GLView.setFocusableInTouchMode(true);

        __IsGLView = true;

}

Whenever i tried, it just gave us error message. i don't know how to
change it smoothly between them. If someone know about it. please
share it us. it really hard for me.

Regards.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to