I reply a question myself.. It is impossible to remove a GLSurfaceView addviewed in LinearLayout. the answer reside in GLSurfaceView reference. a below document is captured in GLSurfaceView reference.
Activity Life-cycle A GLSurfaceView must be notified when the activity is paused and resumed. GLSurfaceView clients are required to call onPause() when the activity pauses and onResume() when the activity resumes. These calls allow GLSurfaceView to pause and resume the rendering thread, and also allow GLSurfaceView to release and recreate the OpenGL display. the main point is that GLSurfaceView life cycle is same with Activity life cycle. So Activity shoud be finished to remove GLSurfaceView. the GLSurfaceView's sample code in ApiDomos works following a this main point. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

