I'm making a custom listview and I would like to use the standard
textview shown in the tutorial to display the text items (defined in
android.R.layout.simple_list_item_1).  How do I instantiate it?  The
best I can figure is using View.inflate in the ListAdapter's getView
method, but this throws an exception
"java.lang.UnsupportedOperationException: addView(View, LayoutParams)
is not supported in AdapterView"
--~--~---------~--~----~------------~-------~--~----~
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