In the custom payment input box, I need to suppress the click event of the EditText control and pop up the soft keyboard. Here are some examples of commonly used methods~~~
Android EditText prohibits clicking on the keyboard
Method 1: Select which activity in AndroidMainfest.xml, and set the windowSoftInputMode property to adjustUnspecified|stateHidden
Method 2: Let EditText lose focus and use EditText's clearFocus method
Method 3:
nputMethodManager imm(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(edit.getWindowToken(),0);
Method 4: edit.setInputType(InputType.TYPE_NULL); Permanently prohibit popup
Make a note of it so you can use it later.