Monday, November 26, 2012

[android-developers] Re: Single WebView on Layout Drawn Twice When Targeting Android SDK 15

Definitely sounds like bad code in the XML layout.



On Sunday, November 25, 2012 6:50:50 PM UTC-6, Jeremy Villalobos wrote:
I have an app with a layout that includes a WebView component.  When I use targetSDKVersion 11 (on the manifest), it works ok.  But initially I had the targetSDKVersion=15.  This caused the WebView to be drawn twice when testing on a Xoom tablet with Android ICS.

The duplicate WebView appears on the bottom of the screen and disappears when I touch the screen anywhere.  The WebView comes back every time the Original WebView is updated with loadData() method.

Lowering the target version seems to be a good work-around.

Could this be due to bad code on the xml layout file ?

Is this a bug ?

I have a Jelly Bean tablet to test, but it is not within reach at the moment.  I'll update this post with the findings.



--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate