Monday, August 6, 2012

[android-developers] Java to XML

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.

Sent from my Galaxy Nexus

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment