I am working on an educational game and I want the graphics part to be rendered with OpenGL, and NDK may be a better choice, but I am running into a problem with how I can make this work with Fragments.
Currently, if I just pass the fragment activity to GLSurfaceView it should work properly (I am still designing out everything), when I do OpenGL from Java, even though this is in a fragment.
I would like fragments so that on a tablet I can show all of the parts at one time, but on a phone the user will see equations on one screen and the results on another.
Is it possible to have my graphics be in a separate fragment and render the image with OpenGL, using NDK?