Code example for SurfaceHolder

Methods: getSurfaceFrame

0
	 
} 
 
@Override 
public void surfaceCreated(SurfaceHolder holder) {
	Rect frame = holder.getSurfaceFrame();
//	SizeUtil.setScreenSize(frame.width(), frame.height());			 
    mGameThread.start(holder, frame.width(), frame.height());
} 
 
public void surfaceDestroyed(SurfaceHolder holder) {
	// TODO Auto-generated method stub 
	 
} 
} 
 
 
 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE