According to the following thread " ListView isn't really meant to handle that type of UI with editable entries".
http://groups.google.com/group/android-developers/browse_thread/thread/50f0fc185da8fe4d?pli=1

The suggested solution is to use vertical LinearLayout wrapped in a ScrollView, containing horizontal LinearLayours of the TextView and EditText.

BTW, I struggled the ListView for three weeks before finding this thread.

Hope this helps
/Poncho


On 02/09/2012 05:13 PM, Mark Winchester wrote:
I'm trying to find a bit of sample code that I'm having trouble with.
Hoping someone here could help me.

I've got a Listview in my app that I want each row of to have a label
and a text box (TextView and EditText).  I've got to create these and
add them dynamically.  That much hasn't been too bad.  Currently, I'm
creating an ArrayAdapter from my array of data and setting it as the
adapter for the ListView.  I've got a layout that I can point to and
the labels are being set correctly.  What I'm having trouble finding
is an example where the EditText boxes are filled upon creation, and
then read back on an event.  I would appreciate any help.

-Mark


--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to