Cool! Thanks, that sounds quite promising, but also quite challenging for me! I'll give it a try now!
Thanks a lot! Best, Hannes On Jun 11, 2:03 pm, Mark Murphy <[email protected]> wrote: > h...@nnes wrote: > > I'm developing a very simple webview application, that takes some time > > for loading. I wonder whether there is an easy way to place an load > > bar/splash screen while loading. If you could direct me to the proper > > search term (I did not find anything) or tutorials or could give me > > some instant help it would be highly appreciated! > > What I did on one project, with the same symptoms: > > 1. Used a FrameLayout, with a WebView and an ImageView as children, but > with the WebView set android:visibility="gone" > > 2. In onCreate(), hooked up a WebViewClient, then told the WebView to > load my content > > 3. At the same time, started a RotateAnimation on my ImageView > > 4. When the WebViewClient got onPageFinished(), I stopped the animation, > made the ImageView be View.GONE, and made the WebView be View.VISIBLE > > This worked fairly nicely. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Looking for Android opportunties?http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

