Replicate behavior of Android browser

Posted by Brian515 on Stack Overflow See other posts from Stack Overflow or by Brian515
Published on 2010-04-17T03:42:14Z Indexed on 2010/04/17 3:53 UTC
Read the original article Hit count: 447

Hi all,

I am writing for Android, and I can't figure out how to replicate the effect of the Android browser where the progress bar is at the top of the screen, with the webview below it, yet when you scroll down, the bar scrolls with the page.

I've tried placing both the webview and the progress bar into a scrollview, but when I do that, the webview becomes completely unresponsive and will not load (or respond to any commands, for that matter).

Any help would be greatly appreciated.

Thanks!

P.S., I'm using the Eclipse IDE, and I'd like to to continue using the 1.5 SDK if possible to maintain backwards compatibility (and just to be able use my own application -- my phone isn't getting 2.1 for a couple of months).

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk