How to create layout with edit text dynamically added and removed at run time

Viewed 1617

I am working on a survey application and I need to know how to create a layout that lets the user enter multiple answers for a question, once he types in the first text then the next one should be generated dynamically below the first one.

Also, how can I make the edit texts removable?

Like this layout : enter image description here

3 Answers
Related