Hi guys,

I have been trying to mimic the behavior of the android browser with
the scrolling of the address bar on top of the WebView. If you notice,
if the user scrolls down, the address bar "moves" up with the WebView
(but the WebView doesn't scroll). Only when the address bar disappears
completely the WebView starts to scroll. At first I tried to override
the onScrollChanged method of WebView, and got something but it wasn't
as smooth as the desired goal.

I also noticed in the docs that WebView inherits from AbsoluteLayout,
so I treated the WebView in my main.xml as a Layout and put inside the
address bar layout - now it scrolls but the WebView's browser is not
being presented well, and it's partly obscured by the address bar.

What do you think?

Thanks

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