I believe the SDK has an example of this, look in the samples folder.

On Dec 6, 6:17 pm, Gabor <[email protected]> wrote:
> I'm trying to build a ListView with custom list items.
>
> I built my own ListAdapter, and a list_item.xml file with a layout of
> the list items. In my ListAdapter's getView() function, I want to
> instantiate the layout list_item.xml
>
> I'm looking for something like:
>
> View v = View.buildViewFromXmlLayout(R.layout.list_item);
>
> How do I do this
>
> Gabor

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to