Author Topic: Myglsurfaceview in xml layout  (Read 726 times)

Offline aeroxr1

  • int
  • **
  • Posts: 82
    • View Profile
Myglsurfaceview in xml layout
« 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 ?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Myglsurfaceview in xml layout
« Reply #1 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.

Offline aeroxr1

  • int
  • **
  • Posts: 82
    • View Profile
Re: Myglsurfaceview in xml layout
« Reply #2 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  :-[