Hi paulb, thanx for reply its working fine. I was stick at this point since long time.
On Sun, Oct 3, 2010 at 7:37 PM, paulb <[email protected]> wrote: > Hey Rocky, > > If you are still experiencing a problem with the layout, and the > RelativeLayout does not work, you can use a solution along the lines > of: > > > <LinearLayout > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_marginBottom="60dp" > android:layout_height="fill_parent"> > > <ListView android:id="@+id/ListView01" > android:layout_height="wrap_content" > android:layout_weight="1" > android:layout_width="fill_parent"> > </ListView> > > </LinearLayout> > > ... and then, in your /inbox_page_edit_mode_footer_button layout, you > set the attribute: > > android:layout_marginTop="-60dp" > > > > On Sat, Oct 2, 2010 at 4:50 AM, letlite <[email protected]> wrote: > > Set its layout_height to 0 and give it a layout_weight : > > android:layout_height="0dip" > > android:layout_weight="1" > > > > As it was mentioned, "wrap_content" should not be used for ListView's > > layout_height. > > See why here: <a href="http://code.google.com/events/io/2010/sessions/ > > world-of-listview-android.html">The world of ListView </a> > > > > 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 > > -- > 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

