Code example for WindowManager.LayoutParams

0
 
		// add the camera first 
		// removing glView causes it to only show the camera. 
		setContentView(mPreview);
		addContentView(glView, new LayoutParams(LayoutParams.FILL_PARENT,
				LayoutParams.FILL_PARENT));
		//addContentView(Target, new LayoutParams(LayoutParams.FILL_PARENT,  
				//LayoutParams.FILL_PARENT)); 
		// addContentView(new HoponPop(this), new 
		// LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); 
		// mSensei = null; 
		// this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); 
 
	} 
 
	/** Called when the activity is first created. */ 
 
	public void onResume() { 
		super.onResume(); 
		glView.onResume();
		mWakeLock.acquire();