<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<include layout="@layout/tabbar" android:layout_height="fill_parent" />
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ListView android:id="@+id/ListView01"
android:layout_height="330px"
android:layout_weight="1"
android:layout_width="fill_parent">
</ListView>
</LinearLayout>
<include layout="@layout/inbox_page_edit_mode_footer_button"
android:layout_height="wrap_content" />
</LinearLayout>
while i'm showing the list item I've footer header,
if i'm using either of fill_parent or wrap_content, my footer part is not
showing, if i fixed the height=330, then footer part is showing.
that the problem, I wountn't like to fix the height.
On Fri, Oct 1, 2010 at 2:46 PM, Kumar Bibek <[email protected]> wrote:
> The parent of the ListView should be Linear Layout, just ensure that,
> and it should work.
>
> But I suspect that what you want is really not what this will give
> you. If you can be more specific, that would help.
>
> -Kumar Bibek
> http://techdroid.kbeanie.com
>
> On Oct 1, 1:48 pm, Rocky <[email protected]> wrote:
> > hi Bibek,
> >
> > still same problem,
> >
> > <ListView android:id="@+id/ListView01"
> > android:layout_height="wrap_content"
> > android:layout_weight="1"
> > android:layout_width="fill_parent">
> > </ListView>
> >
> > or
> >
> > <ListView android:id="@+id/ListView01"
> > android:layout_height="fill_parent"
> > android:layout_weight="1"
> > android:layout_width="fill_parent">
> > </ListView>
> >
> > is i'm writing right way of weight.
> >
> >
> >
> > On Fri, Oct 1, 2010 at 1:25 PM, Kumar Bibek <[email protected]>
> wrote:
> > > Try weight parameter in a LinearLayout. That should solve your
> > > problem.
> >
> > > -Kumar Bibek
> > >http://techdroid.kbeanie.com
> >
> > > On Oct 1, 11:56 am, Rocky <[email protected]> wrote:
> > > > Hi Bibek,
> >
> > > > if i'm using fill_parent, also it fill entire screen, and my bottom
> > > button
> > > > goes off, (footer button not showing that case)
> >
> > > > is any dynamic approach, thr that i can set the height according to
> > > device,
> > > > in java file (coding)
> >
> > > > --RKJ
> >
> > > > On Fri, Oct 1, 2010 at 12:14 PM, Kumar Bibek <[email protected]>
> > > wrote:
> > > > > 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]<android-developers%[email protected]>
> <android-developers%[email protected]<android-developers%[email protected]>
> >
> > > <android-developers%[email protected]<android-developers%[email protected]>
> <android-developers%[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]<android-developers%[email protected]>
> <android-developers%[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]<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