On Sat, Sep 18, 2010 at 3:44 AM, Edwin <[email protected]> wrote: > Hi all, I put a webview inside a scroll view according to this > http://www.anddev.org/view-layout-resource-problems-f27/add-imageview-to-bottom-of-webview-t19169.html > . > But I found that if the webview already loaded a long content, and > then load short content again. The webview doesn't resize and the > scroll bar is still here. > > for example, load "test<br/><br/><br/><br/><br/><br/><br/><br/><br/ >><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>" and then > load "test" in the webview will cause this problem. > > How can I resize the webview the fit the content.
I do not expect a WebView inside a ScrollView will work. They both know how to scroll, and scrollable things in scrollable things does not work well in Android. I suggest that you come up with a UI design that can avoid this requirement. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Atlanta: http://bignerdranch.com/classes/android -- 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

