On Tue, Oct 19, 2010 at 9:25 AM, Neilz <[email protected]> wrote:

> How can I keep the button area fixed in height, while the webview scrolls
> if the text is long enough?
>

First, I'd get rid of the "wrapper" LinearLayouts around the WebView and the
button. The parent LinearLayout should suffice.
Second, set the parent LInearLayout height to fill_parent, not wrap_content.
Third, set the layout_weight of the webView to 1.

I'm assuming WebView auto-scrolls. If not, put it in a ScrollView and set
that weight to 1.

Try that for starters.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to