I am hiding the android keyboard after a user finishes typing in an edittext field. When I hide the keyboard, the entire view scrolls to the bottom. How can I avoid this scrolling?
This is what I have for hiding the keyboard:
InputMethodManager imm = (InputMethodManager)getSystemService(
Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(stepNameEditText.getWindowToken(), 0);
imm.hideSoftInputFromWindow(stepDescriptionEditText.getWindowToken(), 0);