Answers for "hide keyboard on activity start android programmatically"

0

How to programmatically hide Android soft keyboard

private void closeSoftKeyboard() 
    { 
    	//If using a fragment use getActivity().getCurrentFocus()
        View v = this.getCurrentFocus(); 
  
  		// If Soft Keyboard is visible, it will be hide
        if (v != null) {
Posted by: Guest on December-29-2020

Code answers related to "hide keyboard on activity start android programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language