docs: public static boolean switchPanelAndKeyboard(final View panelLayout, final View focusView) {
          boolean switchToPanel = panelLayout.getVisibility() != View.VISIBLE;
          if (!switchToPanel) {
              showKeyboard(panelLayout, focusView);
          } else {
              showPanel(panelLayout);
          }
  
          return switchToPanel;
      }