I have a vertical scrolling layout with multiple EditText and Spinner controls. Problem is when i choose any spinner option after selection the screen scrolls back to the l
Here's my solution.
mSpinner.setFocusableInTouchMode(true); mSpinner.setOnFocusChangeListener(new View.OnFocusChangeListener() { @Override public void onFocusChange(View v, boolean hasFocus) { if (hasFocus) { if (mSpinner.getWindowToken() != null) { mSpinner.performClick(); } } } });