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

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

    • <bdo id='MSJNZ'></bdo><ul id='MSJNZ'></ul>
    <legend id='MSJNZ'><style id='MSJNZ'><dir id='MSJNZ'><q id='MSJNZ'></q></dir></style></legend>

      带有芯片的 Android AutoCompleteTextView

      时间:2023-10-01

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

          • <bdo id='Ffk54'></bdo><ul id='Ffk54'></ul>
              <tfoot id='Ffk54'></tfoot>
                <tbody id='Ffk54'></tbody>
              <legend id='Ffk54'><style id='Ffk54'><dir id='Ffk54'><q id='Ffk54'></q></dir></style></legend>

              • <i id='Ffk54'><tr id='Ffk54'><dt id='Ffk54'><q id='Ffk54'><span id='Ffk54'><b id='Ffk54'><form id='Ffk54'><ins id='Ffk54'></ins><ul id='Ffk54'></ul><sub id='Ffk54'></sub></form><legend id='Ffk54'></legend><bdo id='Ffk54'><pre id='Ffk54'><center id='Ffk54'></center></pre></bdo></b><th id='Ffk54'></th></span></q></dt></tr></i><div id='Ffk54'><tfoot id='Ffk54'></tfoot><dl id='Ffk54'><fieldset id='Ffk54'></fieldset></dl></div>
              • 本文介绍了带有芯片的 Android AutoCompleteTextView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我不确定我是否为这个 UI 功能使用了正确的词,但我附上了我希望在我的应用中实现的目标的快照.

                I am not sure I am using the right words for this UI feature, but I have attached a snapshot of what I am looking to achieve in my app.

                Go SMS 使用它,用户在编辑文本中键入联系人,在用户从完成下拉列表中选择联系人后,联系人将插入到编辑文本中,如附图所示.编辑文本是仍然开放以接受进一步的输入.

                Its used by Go SMS, where a user types contacts in an edit text, after the user selects a contact from the completion drop down, the contact is inserted in the edit text as show in the attached image.The edit text is still open to accept further input.

                对于我的应用程序,我想在用户输入逗号后立即进行分组和插入,就像 StackOverflow 的标签输入一样(但我相信我可以单独处理.)我的问题是什么样的查看是这个还是我如何修改 EditText 以使其具有这样的行为?

                For my app, I would like to do the grouping and insertion as soon as the user enters a comma, Just like the Tag input for StackOverflow works (But I believe I can handle that alone.) My problem is what kind of View is this or how do I modify an EditText to behave like this?

                谢谢.

                推荐答案

                Google 的官方 Chips 库(用于 Gmail、电子邮件、日历、消息)位于 https://android.googlesource.com/platform/frameworks/opt/chips/

                The official Chips library from Google (as used in Gmail, Email, Calendar, Messaging) is located at https://android.googlesource.com/platform/frameworks/opt/chips/

                如何使用它的简单示例可以在 https://code.google.com/p/platform-features-talk-io-2013/source/browse/src/com/example/iotalk/ChipsActivity.java

                A simple example of how to use it can be found at https://code.google.com/p/platform-features-talk-io-2013/source/browse/src/com/example/iotalk/ChipsActivity.java

                这篇关于带有芯片的 Android AutoCompleteTextView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:如何在 EditText 中突出显示多个单词? 下一篇:如何从 EditText 返回一个 int?(安卓)

                相关文章

                最新文章

                  <bdo id='KwTIO'></bdo><ul id='KwTIO'></ul>
              • <legend id='KwTIO'><style id='KwTIO'><dir id='KwTIO'><q id='KwTIO'></q></dir></style></legend>

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

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