Okey, then i know. Thanks. Den onsdagen den 11:e juli 2012 kl. 21:53:50 UTC+2 skrev Dianne Hackborn:
> A non-fullscreen window wraps its content. If your content is allowing > itself to be wrapped at a size smaller than works, you have a problem with > the layout in your window. > > On Wed, Jul 11, 2012 at 10:55 AM, Kristoffer <[email protected]>wrote: > >> Hello. >> its the same if i use that, the window will be the same size as the >> content. >> >> Den onsdagen den 11:e juli 2012 kl. 19:34:24 UTC+2 skrev skink: >> >>> >>> >>> Kristoffer wrote: >>> > Hello. >>> > Iam trying to make a nice looking "popup" window >>> > iam almost there with the help of android:windowIsFloating in my theme >>> but >>> > the thing is that the new window is wraping content to set its size. >>> > What i want is that the new window should almost fill the whole >>> screen, it >>> > should just be little smaller that the background activity just to >>> show >>> > thats its a popup window. >>> > >>> > Yes, sure i could hardcode a size but i want it to look good on any >>> size so >>> > the best would be if i some way could set the size to like 80 % of >>> screen >>> > size? >>> > maybe there is a default android theme that i could use? >>> >>> >>> sure it is: >>> >>> <activity android:theme = "@ >>> android:style/ >>> Theme.Dialog" > >>> >>> pskink >> >> -- >> 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 >> > > > > -- > 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

