为什么我的 Eclipse IDE 的 Form Widgets 部分中没有 EditText

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11220796/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:24:46  来源:igfitidea点击:

Why don't I have EditText in the Form Widgets section in my eclipse IDE

androideclipse

提问by Pavan Katepalli

As you can see in the Form Widgets section, I don't have a EditText icon there. I know I could write it in the xml file manually, but I was wondering why it isn't there. Here's a screen shot of what I'm talking about:

正如您在“表单小部件”部分中看到的那样,那里没有 EditText 图标。我知道我可以手动将它写在 xml 文件中,但我想知道为什么它不在那里。这是我正在谈论的屏幕截图:

screen shot

截屏

回答by timv

Yea this one had me stumped too.

是的,这个也让我难住了。

For those who still can't find it check out this image. Edit-text is the "multi-line" Text Field option that is to the right of the "Address" option.

对于那些仍然找不到它的人,请查看这张图片。编辑文本是位于“地址”选项右侧的“多行”文本字段选项。

You can see on the right of the image under 'Outline' that its a editText so hopefully this helps someone avoid the confusion I also had.

您可以在“大纲”下的图像右侧看到它是一个editText,所以希望这可以帮助人们避免我也遇到的困惑。

enter image description here

在此处输入图片说明

回答by Mohaimin Moin

Palette->Text Fields-> Multiline Text/ Plain Text

调色板-> 文本字段-> 多行文本/纯文本

回答by Mohsin Naeem

Because EditTextis in "Text Fields" Tab on the left menu.

因为EditText位于左侧菜单的“文本字段”选项卡中。

回答by Amos M. Carpenter

Look on the left, where you have "Form Widgets" selected... try selecting "Text Fields".

查看左侧,您选择了“表单小部件”...尝试选择“文本字段”。