Well first of all there are 2 possible ways by which u might be getting each row item... 1 is by defining them in an xml and inflating them at runtime and the other is by directly initiating it through code...
supposing that u have used the xml inflation method.... all u have to do is define the list's width = "fill_parent"... and similarly in the properties of the xml u have created for items u must have used Linear/ Relative layout in which all items reside... just change its width parameter from "wrap_content" to "fill_parent"... this will do the trick... if it doesnt then we'll have to look at the xml of your row which u inflate or incase of making it dynamically through code, we'll have to have a look at the code... On Mar 5, 3:08 pm, Martin Obreshkov <manig...@gmail.com> wrote: > I am sorry for the misleading question - i want the listview items to > be stretched to the whole listview > > On Fri, Mar 5, 2010 at 12:00 PM, manigault <manig...@gmail.com> wrote: > > Hi all i have a listview with small number of items but they are still > > fetched dynamically. How can i make my list view to fill to whole > > screen no not depending on number of items > > -- > When I raise my flashing sword, and my hand takes hold on judgment, I will > take vengeance upon mine enemies, and I will repay those who haze me. Oh, > Lord, raise me to Thy right hand and count me among Thy saints. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en