Exemplo n.º 1
0
  /** 打开自定义键盘 */
  private void openBoard() {
    if (SKKeyPopupWindow.keyFlagIsShow && !GlobalPopWindow.popIsShow) {
      popKey.setLastText(showValue);
      popKey.setShowMax(Integer.toString(info.getnShowCharNumber()));
      popKey.setShowMin(Integer.toString(0));
      popKey.setnStartX(info.getnBoardX());
      popKey.setnStartY(info.getnBoardY());
      popKey.initPopUpWindow();

      // 允许输入 并且勾选了输入提示 则更换背景
      if (info.isbIsinput() && info.isbInputSign()) {
        drawBack = true;
        SKSceneManage.getInstance().onRefresh(items);
      }
      popKey.showPopUpWindow();
    }
  }