Code example for PopupWindow

Methods: showAtLocation

0
	    progressWindow.setAnimationStyle(android.R.anim.fade_in);
	} 
 
	public void show() { 
		try { 
		     progressWindow.showAtLocation(parent, Gravity.CENTER, 0, 0);
		} catch(Exception e) {}
	} 
 
	public void dismiss() { 
		try { 
		    progressWindow.dismiss();
		} catch(Exception e) {}
	} 
 
	public boolean isShowing() { 
		boolean isShowing = false;
		try { 
			isShowing = progressWindow.isShowing();
		} catch(Exception e) {}