The confirmation button is written in <LinearLayout>
Version 7 of the Android system press Enter to cycle the focus cannot jump to the <LinearLayout> tag, you need to add
android:focusable="true"
On the contrary, if the <LinearLayout> element of Android version 9 does not want to get the focus, add
android:focusable="false"