Saturday, February 25, 2012

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

25.02.2012 11:12, Zsolt Vasvari пишет:
> Let me rewrite this --- lol:
>
> Pre-ICS, the size of a dialog was wrapped around its body View. On
> ICS this is no longer the case, but, instead, every dialog has a
> minimum width which is almost the compete widh of screen of a Galaxy
> Nexus in potrait mode.

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.

> Anybody has any ideas?
>

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

--
Kostya Vasilyev

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