Hi James, as far as I know it's not (reliably) possible to have more than one SurfaceView<https://groups.google.com/forum/#!msg/android-developers/fQihJKLki7M/nz4QWV8eyxQJ>(or GLSurfaceView) in one Activity at the same time. Since it sounds like you just want to draw graphs, it would be probably better to resort to a custom view component and drawing on a Canvas.
If you fancy OpenGL ES rendering capabilities then you should just have a single GLSurfaceView and implement swiping / paging yourself by capturing touch events and drawing the OpenGL ES scene accordingly. On Saturday, August 3, 2013 10:00:32 PM UTC-5, James Black wrote: > > Hello, > I want to start on a program using OpenGL ES but I want to use > fragments, as it will be simpler, I think, to show equations in one > fragment and the graph in another fragment. The equations and the graphing > will be separate instances of using GLSurfaceView. > > As I write this I almost wonder if I should use a HUD, as explained > phere: > http://stackoverflow.com/questions/8842173/android-image-over-opengl-es-game-hud > > But for equations that people can modify I don't know if that is the > best option. > > > http://stackoverflow.com/questions/1629775/tutorials-and-libraries-for-opengl-es-games-on-android > > Thank you. > > -- > Resume & Projects: http://careers.stackoverflow.com/jamesblack > > "I know that you believe you understand what you think I said, but I'm not > sure you realize that what you heard is not what I meant." > - Robert McCloskey > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

