Code example for SurfaceHolder

Methods: setFixedSize

0
	public void removeCallback(Callback callback) {
		holder.removeCallback(callback);
	} 
 
	public void setFixedSize(int width, int height) {
		holder.setFixedSize(width, height);
	} 
 
	public void setFormat(int format) {
		holder.setFormat(format);
	} 
 
	public void setKeepScreenOn(boolean screenOn) {
		holder.setKeepScreenOn(screenOn);
	} 
 
	public void setSizeFromLayout() { 
		holder.setSizeFromLayout();
	} 
 
	@Deprecated