Thursday, December 6, 2012

[android-developers] MasterDetailFlow ADT and OpenGL

Hi,

I need a master/detail implementation with a list of 3D-model files on the left and an OpenGL-detail-view on the right. The MasterDetailFlow ADT seems to be a good starting point. But how can I configure this template to draw OpenGL in the detail window? 

Some thoughts; Is it possible to use a GLSurfaceView in the Fragment-inherited detail class? Not sure if GLSurfaceView can be used in a subsection of the screen, though. And there is no setContentView in the Fragment-class. I could perhaps use this.getActivity().setContentView(..) but will this work when there is a list-view on the left side?

- Frode

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

No comments:

Post a Comment