Saturday, February 25, 2012

[android-developers] Re: How to WRAP_CONTENT of a Dialog on ICS?

> Note that the Galaxy Nexus's screen is slightly wider than other
> phone-type devices to date: 720 px @ xhdpi = 360 dp, vs. 320 dp that was
> typical before.

I verified this behavior. If I just put a short TextView, on pre-ICS,
the dialog is just big enough, on ICS it's almost the full width of
the screen.

> I'd just forget about trying to resize the dialog, and instead try to
> find good use for the extra width (layout_weight and such).

Normally, yes, but in this case, this is a pop-up calculator where it
makes so sense to make any of the controls bigger.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment