Nico, the problem here is that I want the dialog to wrap (shrink) where the text isn't that big. I simply can't get hold of the size of the dialog once it's displayed, so I have no idea when to set what you show below. So the layout itself has to do the shrinking, but stay at a maximum height where necessary.
On Nov 15, 4:35 pm, niko20 <nikolatesl...@yahoo.com> wrote: > DisplayMetrics dm = new DisplayMetrics(); > getWindowManager().getDefaultDisplay().getMetrics(dm); > ScreenWidth = dm.widthPixels; > ScreenHeight = dm.heightPixels; > -- 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