I am showing a RSS feed in my application using Webview as ListItem
and it works great except that it is very sluggish at times. Since I
don't know the size of the content then I can't set the height of each
Webview and therefore I have the following code (this is the code for
a single ListItem):
<WebView android:id="@+id/rss_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/RssText"
android:textColor="#FFFFFF"
/>
But the "wrap_content" causes the Webview to readjust size when
scrolling. The scrollbar-indicator of the listview also has problems
knowing the size of the complete list so it changes size when
scrolling. All this causes a very "jerky" experience when scrolling.
Is there any better way of doing this? Would really appreciate any
help!
-Christer
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---