thnx for replay,

but its not working with list view.
if i set the height=0dip, my entire list item gone.


On Fri, Oct 1, 2010 at 9:42 PM, letlite <[email protected]> wrote:

> Set its height to 0 and give it a weight.
>
>            android:layout_weight="1"
>             android:layout_height="0dip"
>
>
> On Sep 30, 11:08 pm, "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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Thanks & Regards

Rakesh Kumar Jha
Software Developer
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030273740
(R) +919886336619

-- 
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

Reply via email to