Hello, I have an AlertDialog with a custom View content. The View is defined as:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="1" android:fillViewport="true"> </ScrollView> On stock Android 2.1, the dialog nicely stretches to the width of the screen (480x800) pixels, but on the Sense UI, it's only as wide as the longest text field in the dialog. What happens is that the rightmost button on the bottom of the dialog is cut off and wraps to two lines in the middle of the word. Has anyone seen this issue or has any ideas on fixing it? So far I've tried giving a specific width in layout_width, but it does nothing on stock Android, and I don't have a Sense UI device to test on. Perhaphs a related question is, is there any way to force an AlertDialog to use the entire available width of the screen? -- 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

