Pent... your layout did the trick for me. Strange thing is, I can't really understand why yours works and mine doesn't... that's android for you I guess!
Thanks :-) Oh, and this time for once, layout_height="0px"; didn't work. It actually made it zero height. On Nov 15, 5:15 pm, Pent <tas...@dinglisch.net> wrote: > Here's a dialog I have with a webview top and a button row bottom. > > In general I've found dialogs to be a total pain to layout. > > Pent > > <LinearLayout > xmlns:android="http://schemas.android.com/apk/res/android" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:orientation="vertical" > > <WebView > android:id="@+id/webview" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:layout_weight="1.0" > android:layout_margin="3dip" > /> > <LinearLayout > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:orientation="horizontal" > android:layout_gravity="bottom" > > > <Button android:id="@+id/button_done" > android:layout_width="wrap_content" > android:layout_height="wrap_content" > android:layout_gravity="bottom" > /> > ... > </LinearLayout> > </LinearLayout> -- 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