[android-developers] Java to XML

2012-08-06 Thread dnkoutso
Pass the 4 as an intent extra in your next activity. Have a container layout in your next activity (probably linear layout with vertical orientation) then onCreate read the intent extra and loop through and programmatically create EditText views. Call addView() from your container layout. Sen

[android-developers] Java to XML

2012-08-06 Thread nybras
New to Android Development and was wondering if there was some way of taking the users input to create an activity? For example say the user is going through the process of setting up a profile of themself. One of the questions is "how many pets do you have?". The user inputs "4" and then clicks