Sunday, November 14, 2010

Re: [android-developers] Layout help - limiting dialog size

On 14 November 2010 17:26, Neilz <neilhornsey@gmail.com> wrote:
> Hi all. I have a custom dialog, which contains a WebView. If the
> content of the webview is too much, the dialog size is too high for
> the screen, and the 'ok' button drops off the bottom of the screen. I
> can't seem to find a way to limit the size of the dialog. I can
> achieve it with "layoutHeight" but that's no good, as I want it to
> wrap when there is less text. The element maxHeight seems to have no
> effect.

Why not use ScrollView container?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate