android Opengl中使得一个view在另一个view上面显示
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LoadImage.load(getResources()); myRenderer = new MyRenderer(true); glSurfaceView = new GLSurfaceView(this); glSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0); glSurfaceView.setRenderer(myRenderer); glSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT); glSurfaceView.setZOrderOnTop(true); setContentView(glSurfaceView); }
相关推荐
xzw 2019-06-26
frankwang 2013-08-06
wanghualin0 2013-06-18
夕加加 2012-06-17
sircarfield 2011-03-31
shsshs 2014-04-29
alexazh 2014-04-29
qiangbizhi 2013-07-05