I have an AlertDialog that I create with AlertDialog.Builder.  I add a
positive and negative button and set a view using setView.  I am not
setting a title, because it would take up too much space.  It looks
good when I'm in vertical orientation, but when I go to horizontal it
is positioned and sized as though it had a title.  The window is not
filling the screen vertically.

I tried doing:

this.myAlertDialog.getWindow().setGravity
(android.view.Gravity.FILL_VERTICAL);

and

this.myAlertDialog.getWindow().setGravity(android.view.Gravity.FILL);

with no luck.

Does anyone know how I can make this AlertDialog fill the whole 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

Reply via email to