How is it possible to open the system keyboard by pressing a regular button?

I saw a bunch of hiding examples and EditText , but that's not all.

    1 answer 1

    For example:

     InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); inputMethodManager.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);