android studio set keyboard next button to arrange focus items code example
Example: android how to change focus on confirm button on keyboard
android:nextFocusDown="@+id/.."
android:nextFocusLeft="@+id/.."
android:nextFocusRight="@+id/.."
android:nextFocusUp="@+id/.."