Wrap_content is not suitable for listview's height. AFAIK. Either you set the height, or allow it to expand, by setting fill_parent
-Kumar Bibek http://techdroid.kbeanie.com On Oct 1, 11:08 am, "RKJ (Android developer)" <[email protected]> wrote: > Hi Techie, > > I'm facing a problem in height of ListView (in my list i'v some time 1 > item or some times 20-30 items) > > <ListView android:id="@+id/ListView01" > android:layout_height="330px" > android:layout_width="fill_parent"> > </ListView> > > Here I want > android:layout_height = " wrap_content" > > or > > android:layout_height = "fill_parent" > > but in both the case lower part of button is not showing, if i fix > height=330px, den its comming appropriately in my emumlator, > > i want height should be dynamic, wrap_content > > so please help me, how to fix the height of list view according to > devices, so that it will fit in any devices, > > thaanks > > __RKJ -- 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

