Myglsurfaceview in xml layout

Started by aeroxr1, September 19, 2014, 07:01:28 PM

Previous topic - Next topic

aeroxr1

I would to inflate myglsurfaceview in a xml layout, but many errors appeared.. :(
Some guys in this forum have done something like this ?

EgonOlsen

Nobody is able to derive anything from a statement like 'many errors appear'. Please be more precise. And what exactly do you mean by 'inflate' in this context.

aeroxr1

There were errors, because my class myglsurface had nested in activity class and the layout.xml could not seen that class.
Now I have divided all the classes : activity, and the classes myglsurface and myglrenderer.

Sorry for my incomplete first post, but my english is not very good and there were much errors  :-[