Code example for AutoCompleteTextView

Methods: showDropDown

0
        email.addTextChangedListener(this);
        email.setAdapter(adapter);
        email.setOnTouchListener(new View.OnTouchListener(){
			@Override 
			public boolean onTouch(View arg0, MotionEvent arg1) {
				email.showDropDown();
				return false; 
			} 
        }); 
		 
		if (!(isNetworkAvailable(this))) {
		    loginButton.setClickable(false);
		    loginButton.setAlpha(0.5f);
			connectivity.setVisibility(View.VISIBLE);	    
		} 
 
	} 
 
	@Override 
	public boolean onCreateOptionsMenu(Menu menu) {
		//getMenuInflater().inflate(R.menu.parking_panda_main, menu);