Code example for FrameLayout

Methods: removeView, setVisibility

0
			 
			// Hide the custom view. 
			mCustomView.setVisibility(View.GONE);
			 
			// Remove the custom view from its container. 
			mCustomViewContainer.removeView(mCustomView);
			mCustomView = null;
			mCustomViewContainer.setVisibility(View.GONE);
			mCustomViewCallback.onCustomViewHidden();
			 
			HTML5WebView.this.setVisibility(View.VISIBLE);
			 
	        //Log.i(LOGTAG, "set it to webVew"); 
		} 
		 
		@Override 
		public Bitmap getDefaultVideoPoster() {
			//Log.i(LOGTAG, "here in on getDefaultVideoPoster");	 
			if (mDefaultVideoPoster == null) {
//				mDefaultVideoPoster = BitmapFactory.decodeResource(getResources(), 0); //, R.drawable.default_video_poster 
		    }