Code example for ListPopupWindow

Methods: dismissgetListViewisShowing

0
		Log.d("UseListPopupWindow", "onTouch() child className:"+className);
		 
		int motionAction = motionEvent.getAction();
		switch(motionAction){
		case MotionEvent.ACTION_DOWN:
			if(popup.isShowing()){
				popup.dismiss();
				popup.getListView().clearFocus();
			} 
			break; 
		case MotionEvent.ACTION_UP:
			break; 
		} 
		return false; 
	} 
	@Override 
	public void onFocusChange(View arg0, boolean hasFocus) {
		Log.d("UseListPopupWindow", " onFocusChange() autoTv:"+hasFocus);
		// TODO Auto-generated method stub 
		 
Stop searching for code, let great code find you!  Add Codota to your java IDE