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)" <rkjhaw1...@gmail.com>
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 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

Reply via email to