schmielson wrote:
> As it turns out, the android:layout_height="wrap_content" used along
> with android:layout_weight="1" of the WebView was preventing the
> WebView from properly receiving events!  After changing the WebView's
> layout_height attribute to "0px" instead of "wrap_content",
> shouldOverrideUrlLoading is being called and things work like a
> charm.  This bug was particularly insidious, however, since I never
> would have expected that these attributes would have altered the
> view's ability to process clicks/touches in this way.

That is definitely strange. There might be a method to the madness 
there, but off the cuff, I don't see it.

> Do you think this is an SDK bug or a documentation bug?

Ummm...yes. ;-)

In other words, it depends a little on why it's not working. The fact 
that you not only see the WebView, but can interact with it, suggests to 
me it's an SDK bug. However, one man's SDK bug can be an Android team 
member's documentation bug, if this is somehow expected behavior.

I do recommend filing a bug, though, just to get this in the queue to 
get looked at.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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