Strangely, that worked, I really didn't think it would ;-)

Thanks!

On Oct 19, 7:29 pm, TreKing <treking...@gmail.com> wrote:
> On Tue, Oct 19, 2010 at 9:25 AM, Neilz <neilhorn...@gmail.com> 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 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

Reply via email to