www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: aeroxr1 on September 19, 2014, 07:01:28 pm

Title: Myglsurfaceview in xml layout
Post by: aeroxr1 on September 19, 2014, 07:01:28 pm
I would to inflate myglsurfaceview in a xml layout, but many errors appeared.. :(
Some guys in this forum have done something like this ?
Title: Re: Myglsurfaceview in xml layout
Post by: EgonOlsen on September 20, 2014, 07:14:54 pm
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.
Title: Re: Myglsurfaceview in xml layout
Post by: aeroxr1 on September 22, 2014, 06:40:57 pm
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  :-[