You can create the list item template in XML but you still need to write some code to populate the list.
-- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 21, 12:54 am, sdphil <phil.pellouch...@gmail.com> wrote: > I want to create a list view with limited set of items that isn't > really going to change. > > Each row is going to have an image on the left and right and text in > the middle. > > Can I populate that in XML (i.e. avoid writing code) ? > > <ListView android:id="@+id/LimitedList" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:choiceMode="singleChoice"> > </ListView> > > tia. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---