Is there anything I can do to achieve a similar effect? I want to have several sections (each with a ListView, EditText, and a submit button) that people can add items to on one page. For example, a user should be able to add their favorite colors and favorite numbers to two separate lists. Each time an item is added, it should be displayed above the input box (so it can be removed with a long click). I know I could split this up into a layout for each list, but it would be much better for me to have several on the same page for now. What is the limitation with using ListView inside a ScrollView? Doesn't a ScrollView expand to accommodate its contents?
Thank you, Andrey On Mar 5, 6:43 pm, Mark Murphy <[email protected]> wrote: > On Sat, Mar 5, 2011 at 6:41 PM, Andrey <[email protected]> wrote: > > I have a ListView that has items added to it at runtime. It is nested > > within a LinearLayout, which is inside a ScrollView. > > That will not work. You cannot place a ListView in a ScrollView. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 3.1 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

