http://developer.android.com/reference/android/widget/ScrollView.html#attr_android: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 <j...@julientech.com> написал: > 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 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 -- 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