Code example for PopupWindow

Methods: setFocusablesetOutsideTouchableshowAtLocationupdate

0
	} 
	 
	public void showPopWindow(View view,int x,int y){
		if (!isShow) {
			isShow=true;
			mPopupWindow.setFocusable(true);
			mPopupWindow.setOutsideTouchable(true);
			//mPopupWindow.setAnimationStyle(R.style.PopupAnimation); 
			mPopupWindow.update();
			mPopupWindow.showAtLocation(SKSceneManage.getInstance().getCurrentScene(), Gravity.CENTER_HORIZONTAL, x, y);
		} 
	} 
	 
	public interface ICallGroupId{ 
		void onResult(int gId,String name);
	} 
	 
	public void setiCallGroupId(ICallGroupId iCallGroupId) {
		this.iCallGroupId = iCallGroupId;
	} 
Connect your IDE to all the code out there  Get Codota for Java