Setting fillViewport="true" along with a relative layout with button having layout_alignParentBottom="true" did the trick.
Thanks! From: [email protected] [mailto:[email protected]] On Behalf Of Kostya Vasilyev Sent: Sunday, January 22, 2012 3:22 AM To: [email protected] Subject: Re: [android-developers] ScrollView (fill_parent) http://developer.android.com/reference/android/widget/ScrollView.html#attr_a ndroid:fillViewport Tryandroid:fillViewport="true" on the ScrollView. And layout_gravity="bottom" won't work in a vertical linear layout. You can use layout_weight on the table layout, or replace linear layout with relative layout, using android:layout_alignParentBottom and android:layout_above on its children. -- K 22 января 2012 г. 10:55 пользователь John <[email protected]> написал: Hi, I have a scroll view with height="fill_parent". The child is a LinearLayout with height="fill_parent". I then have a TableLayout and two Buttons as children of the LinearLayout. I want the buttons to have layout_gravity="bottom" but the LinearLayout does not appear to be filling the height of the parent. Does anyone know why this might be? Thanks, John -- 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] <mailto: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] 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

