简体   繁体   English

android中的Edittext

[英]Edittext in android

当用户输入一个数字时,我需要生成那么多的EditText字段,以便用户可以输入数据?任何人都知道这样做的方法......

i needed to do something very similar to this but with check boxes. 我需要做一些非常类似的事情,但有复选框。 Here is my question, read through it and check out the accepted answer. 这是我的问题,请仔细阅读并查看接受的答案。 This helped me a lot and it should help you too. 这对我帮助很大,它也应该对你有所帮助。

My Question on Stack Overflow 我的Stack Overflow问题

Basically copy the stuff from the accepted answer and modify it for edit text boxes. 基本上从已接受的答案中复制内容并修改它以用于编辑文本框。 You will need the xml file as well. 您还需要xml文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM