As the title asks - Is it possible to place a WebView inside an
expandable list (as a child).

I have tested this; having created a WebView I placed it as a "View"
in the getChildView() of the BaseExpandableListAdapter Class. However
I get the following error:

java.lang.ClassCastException: android.widget.AbsListView$LayoutParams
at android.widget.LinearLayout.measureVertical(LinearLayout.java:323)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:275)
at android.view.View.measure(View.java:6621)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:2791)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:208)
...
...

It'd be great if I could get this to work, im fairly sure it would be
possible even if its does require a hack of some sort...

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