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