< relativelayout xmlns:android = "http://schemas.android.com/apk/res/android" Xmlns:tools = "Http://schemas.android.com/tools" Xmlns:app = "Http://schemas.android.com/apk/res-auto"
Android:layout_width = "Match_parent" Android:layout_height =" Match_parent " android:focusable = "true" Android: Focusableintouchmode = "true"
Add the last two sentences to the XML bottom element of the design screen, giving the entire layout the focus so that EditText does not automatically invoke the system input when it is opened.
If the above is not a simple solution to the problem of losing focus, you can call the Clearfocus () method in the Java code in the Create method to the first EditText control
This way, when the first control loses focus, the focus does not move to the next edittext, but to the parent container directly.
Android Design Screen when there is edittext when you cancel the boot automatically get focus call system Input Method