emada.adame wrote:
> i have a app that searches a site then displays the results in a
> listview. then you can click on one of the items in the list and it
> should pop up a dialog displaying info about the item selected but i
> get "IllegalStateException: ScrollView can host only one direct child"
> i have made a few other apps with the same type functions and never
> run across this, any ideas?

You are adding a second child to a ScrollView. Don't do that.

If the ScrollView in question is in your activity, you should not need
it -- ListView already knows how to scroll.

Otherwise, look for calls to addView() in your code.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Consulting: http://commonsware.com/consulting

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

Reply via email to