The dialog theme, as part of its nature, sets the top-level window layout to be WRAP_CONTENT. You could try manually setting the Window layout width and height to FILL_PARENT, though this is going to make for a kind-of weird dialog (especially if one day you find yourself running on a large screen...).
On Tue, Sep 1, 2009 at 7:18 AM, matthias <[email protected]> wrote: > > Hi, I am also trying to find a solution to this... > > On Jul 31, 4:41 pm, "nEx.Software" <[email protected]> > wrote: > > Just out of curiosity, why are you using a dialog if you want it to > > fill the screen? > > simply because there are occasions where you need to replace content > in the dialog dynamically and you don't want the dialog to resize but > remain at full width and height. For instance, I need to display > images of different width and height in the dialog, and I don't want > the dialog to change size with every image the user looks at. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

