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

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

        • <bdo id='szS7I'></bdo><ul id='szS7I'></ul>
      1. 在android中以编程方式设置编辑文本提示?

        programmatically set edit text hint in android?(在android中以编程方式设置编辑文本提示?)

          <bdo id='drEWZ'></bdo><ul id='drEWZ'></ul>

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

            <tfoot id='drEWZ'></tfoot>

            • <legend id='drEWZ'><style id='drEWZ'><dir id='drEWZ'><q id='drEWZ'></q></dir></style></legend>

                <tbody id='drEWZ'></tbody>

              • <i id='drEWZ'><tr id='drEWZ'><dt id='drEWZ'><q id='drEWZ'><span id='drEWZ'><b id='drEWZ'><form id='drEWZ'><ins id='drEWZ'></ins><ul id='drEWZ'></ul><sub id='drEWZ'></sub></form><legend id='drEWZ'></legend><bdo id='drEWZ'><pre id='drEWZ'><center id='drEWZ'></center></pre></bdo></b><th id='drEWZ'></th></span></q></dt></tr></i><div id='drEWZ'><tfoot id='drEWZ'></tfoot><dl id='drEWZ'><fieldset id='drEWZ'></fieldset></dl></div>
                1. 本文介绍了在android中以编程方式设置编辑文本提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有没有办法用 java 设置在 android edittext 中显示的文本提示?我希望我的应用能够在不同时间在编辑文本中显示不同的内容,提前致谢

                  is there a way to set the text hint displayed inside of an android edittext with java? I would like for my app to be able to display different things in the edittext at different times, thanks in advance

                  推荐答案

                  你试过setHint?

                  myTextView.setHint("My conditional hint");
                  

                  希望对你有帮助..

                  这篇关于在android中以编程方式设置编辑文本提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How can I detect integer overflow on 32 bits int?(如何检测 32 位 int 上的整数溢出?)
                  Local variables before return statements, does it matter?(return 语句之前的局部变量,这有关系吗?)
                  How to convert Integer to int?(如何将整数转换为整数?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在给定范围内创建一个随机打乱数字的 int 数组)
                  Inconsistent behavior on java#39;s ==(java的行为不一致==)
                  Why is Java able to store 0xff000000 as an int?(为什么 Java 能够将 0xff000000 存储为 int?)

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

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

                              <tbody id='r1JVJ'></tbody>