Hey guys,

I have a WebView that won't 'shrink' when it has less content in it
after it has a scrollbar appear.  Currently, it is set to
"wrap_content" on height.  I'm loading simple text stored HTML.
Everything works great as a small amounts of text, but once a large
amount of text rolls in and causes a scroll bar to appear it gets
stuck that way.  When a small amount of text hits on the next 'page'
it won't shrink back down.

If that was confusing at all, hopefully this'll clear it up:

1.  Small amount of text.  Text is centered on screen.
2.  Next 'page' loads, large amount of text shows up.  Scrollbar
appears.  All is well.
3.  Next 'page' loads with small amounts of text.  Scrollbar
disappears, but bounding box does not shrink.  Text appears 'top
aligned' instead of centered because the bounding box is the same size
as in the previous step but there's no reason for it to be.

Is there a way to refresh its height or size every time i do a 'page'
load?  Please let me know if this was confusing at all.

Thanks!

Justin

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