<bdo id='dIbu6'></bdo><ul id='dIbu6'></ul>
      <i id='dIbu6'><tr id='dIbu6'><dt id='dIbu6'><q id='dIbu6'><span id='dIbu6'><b id='dIbu6'><form id='dIbu6'><ins id='dIbu6'></ins><ul id='dIbu6'></ul><sub id='dIbu6'></sub></form><legend id='dIbu6'></legend><bdo id='dIbu6'><pre id='dIbu6'><center id='dIbu6'></center></pre></bdo></b><th id='dIbu6'></th></span></q></dt></tr></i><div id='dIbu6'><tfoot id='dIbu6'></tfoot><dl id='dIbu6'><fieldset id='dIbu6'></fieldset></dl></div>

    1. <tfoot id='dIbu6'></tfoot>

      <small id='dIbu6'></small><noframes id='dIbu6'>

        <legend id='dIbu6'><style id='dIbu6'><dir id='dIbu6'><q id='dIbu6'></q></dir></style></legend>

        Android - 如何禁用虚拟键盘中的某些键

        时间:2023-09-26
          <tbody id='e2H9s'></tbody>
          <tfoot id='e2H9s'></tfoot>

          <small id='e2H9s'></small><noframes id='e2H9s'>

            <i id='e2H9s'><tr id='e2H9s'><dt id='e2H9s'><q id='e2H9s'><span id='e2H9s'><b id='e2H9s'><form id='e2H9s'><ins id='e2H9s'></ins><ul id='e2H9s'></ul><sub id='e2H9s'></sub></form><legend id='e2H9s'></legend><bdo id='e2H9s'><pre id='e2H9s'><center id='e2H9s'></center></pre></bdo></b><th id='e2H9s'></th></span></q></dt></tr></i><div id='e2H9s'><tfoot id='e2H9s'></tfoot><dl id='e2H9s'><fieldset id='e2H9s'></fieldset></dl></div>
            <legend id='e2H9s'><style id='e2H9s'><dir id='e2H9s'><q id='e2H9s'></q></dir></style></legend>

              <bdo id='e2H9s'></bdo><ul id='e2H9s'></ul>
                • 本文介绍了Android - 如何禁用虚拟键盘中的某些键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  如何禁用 Android 虚拟键盘中的某些键(比如数字/符号键)?

                  How to disable certain keys (say number/symbol keys) in Android virtual keyboard?

                  具体来说,当用户关注标准的 android EditText 小部件时,当虚拟键盘出现时,我希望用户不能输入双引号 ( " ) 字符.

                  Specifically I want user can't input a double quote ( " ) character when virtual keyboard is showed up when user focus on a standard android EditText widget.

                  推荐答案

                  如何禁用 Android 虚拟键盘中的某些键(比如数字/符号键)?

                  How to disable certain keys (say number/symbol keys) in Android virtual keyboard?

                  你不能,对不起.毕竟输入法编辑器可能一开始就没有按键".

                  You can't, sorry. After all, the input method editor may not have "keys" in the first place.

                  具体来说,当用户关注标准的 android EditText 小部件时,当虚拟键盘出现时,我希望用户不能输入双引号 ( " ) 字符.

                  Specifically I want user can't input a double quote ( " ) character when virtual keyboard is showed up when user focus on a standard android EditText widget.

                  然后您将不得不通过 InputFilter 来阻止 EditText 的输入,如下所述:如何在 Android 中使用 InputFilter 限制 EditText 中的字符?

                  Then you will have to block the input at the EditText, by means of an InputFilter, as is described here: How do I use InputFilter to limit characters in an EditText in Android?

                  这篇关于Android - 如何禁用虚拟键盘中的某些键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Windows 和 Mac 在密钥检测方面的 Java 差异 下一篇:Java 对象移动

                  相关文章

                  最新文章

                  <small id='iqy75'></small><noframes id='iqy75'>

                  <legend id='iqy75'><style id='iqy75'><dir id='iqy75'><q id='iqy75'></q></dir></style></legend>

                  <tfoot id='iqy75'></tfoot>

                    • <bdo id='iqy75'></bdo><ul id='iqy75'></ul>

                  1. <i id='iqy75'><tr id='iqy75'><dt id='iqy75'><q id='iqy75'><span id='iqy75'><b id='iqy75'><form id='iqy75'><ins id='iqy75'></ins><ul id='iqy75'></ul><sub id='iqy75'></sub></form><legend id='iqy75'></legend><bdo id='iqy75'><pre id='iqy75'><center id='iqy75'></center></pre></bdo></b><th id='iqy75'></th></span></q></dt></tr></i><div id='iqy75'><tfoot id='iqy75'></tfoot><dl id='iqy75'><fieldset id='iqy75'></fieldset></dl></div>