开发者

How do I move an OpenGL view between content views

开发者 https://www.devze.com 2023-01-25 04:39 出处:网络
I have a layout that is loaded in the Activity\'s onCreate(). I then add an exte开发者_如何转开发nded OpenGL view to the layout. On the activity\'s onConfigurationChanged() method I want to load a new

I have a layout that is loaded in the Activity's onCreate(). I then add an exte开发者_如何转开发nded OpenGL view to the layout. On the activity's onConfigurationChanged() method I want to load a new layout, and move the OpenGL view into it so I don't have to re-create all of the textures/objects/etc. that is under it which takes a while. How would I go about doing this properly?

0

精彩评论

暂无评论...
验证码 换一张
取 消