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 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