code: public void focus() {
          requestFocus();
  
          // Show keyboard
          InputMethodManager inputMethodManager = (InputMethodManager) getContext()
                  .getSystemService(Context.INPUT_METHOD_SERVICE);
          inputMethodManager.showSoftInput(this, 0);
      }
docs: Request focus on this PinEntryEditText