[android-developers] Re: Using Adapters

2009-12-16 Thread Ben Griffiths
Okay, so I've got down the LinearLayout in a ScrollView way and I seem to have hacked something together... But, it doesn't quite work. It does something - see the linked pictures Hierarchy: Before http://tinyurl.com/ybl7f8j After http://tinyurl.com/ybohtyv App: Before

[android-developers] Re: Using Adapters

2009-12-16 Thread Chander Pechetty
This hopefully should work, LayoutInflater layoutInflater = LayoutInflater.from(getBaseContext()); (or get it as a Service) View childView = layoutInflater.inflate(R.layout.child_item, null); group.addView(childView); ( // add it to any ViewGroup) -Chander On Dec 16, 11:09 pm, Ben Griffiths

[android-developers] Re: Using Adapters

2009-12-15 Thread Ben Griffiths
Thanks for a very quick reply! On custom Adapters in ListViews, here's an excerpt from one of my books that discusses the topic: http://commonsware.com/Android/excerpt.pdf Thanks, I'll give that a read. Or, this could be a LinearLayout in a ScrollView, and you are modifying the roster of

Re: [android-developers] Re: Using Adapters

2009-12-15 Thread Mark Murphy
Ben Griffiths wrote: Would this be a better way of doing it? Not sure. I haven't tried that specific technique. I went the ListView/Adapter route, because I needed clickable rows. If you just want a scrollable list of EditText widgets (and some other stuff), you may want to consider just the