views:

89

answers:

2

Hello In my android application i am using a header and a footer.In between i have a table inside a scrollview. The problem is that i am not able to see the footer even if i am adding it same as header using include tag. The height and width of the scrollview if i set it to some specified length it works fine but again when it changes the orientation it doesnot.

Could any one let me know how i can make my footer visible at the bottom of the screen without changing the scrollview height.

Please let me know your valuable suggestions

Thanks in advance:)

A: 

I suppose root view is LinearLayout. If so then make sure to set following attributes of the middle ScrollView:

<ScrollView ... 
    android:layout_height="wrap_content" 
    android:layout_weight="1">
    ...
</ScrollView
radek-k
Thanks.Its working now.
Remmyabhavan
Please mark the answer as correct one.
radek-k
A: 

i have linearlayout example with footer may be it help you

http://www.techuv.com/layout-with-butoon-and-textview-fixed-in-bottom/

ud_an