my question is simple. I have class TouchSurfaceView which extends GLSurfaceView. I want create activity where will three TextViews and Button on bottom and TouchSurfaceView on top, but I don’t know how read this in XML layout.
my question is simple. I have class TouchSurfaceView which extends GLSurfaceView. I want create
Share
You just reference it usingthe full name (including the package) as if it were any other Vew:
You need a constructor that takes AttributeSet as parameter (is used when inflating the xml):