Set focus on spinner when selected in android
问题 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 last EditText is was editing before this spinner. The Focus remains with the last EditText i was editing. Is there a way i can keep focus with the current selected spinner. I am looking for a solution that can be implemented on all spinners from layout XML or some generic method to apply to all spinners. 回答1: Here's my