android中的文本框 [英] Text box in android
本文介绍了android中的文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
不知道从哪里可以得到android studio
左侧面板的text box
(如下图所示)?正如我所看到的,只有 textFields
在文本下方有一行,但没有文本框.
I wonder where can I get the text box
(as shown in diagram below) at the left panel of android studio
? As I can see, there only has textFields
which has a line below the text but not text box.
推荐答案
它叫做 EditText
.我相信在 Android Studio 中它是 TextField,下面有一行.只是使用不同的主题.要获得 TextBox 外观,您需要为您的应用程序使用诸如 `@android:style/Theme.Light 之类的旧主题之一.
It's called EditText
. I believe in Android Studio it is the TextField which has a line below. Just using a different theme. To get the TextBox look you need to use one of the old themes like `@android:style/Theme.Light for your application.
这篇关于android中的文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文