Wednesday, July 28, 2010

[android-developers] Dynamically creating list on button click

I am trying to make a class schedule that looks something like this
__________________________________________________
<TextView> <TextView> <TextView>


[_____________________EditText_____________________]

[addClass Button] [addTime Button] [addBuilding Button]
___________________________________________________

I have the layout and the buttons adding text from the edit text
field when clicked.
However I need to add a new text view when the button is click. I
believe that I should be using some type of array to accomplish this
but I am not sure exactly how. Also, the text is not being saved when
the program exits.

--
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