'Change GLSurfaceView background color

I'm working on an android application that uses OpenGL for rendering a 3d Cube, however on the cube activity, the background goes in a gray color which I would like to change: what I see in the preview app in action

How do I have to change my class inherited from GLSurfaceView in order to achieve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source