I've found very strange bug in Android 4.1 JellyBean:
I have WebView (Hardware accelerated) and ImageView over it in FrameLayout:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<WebView
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
<Button
android:id="@+id/button"
android:text="TEST"
android:layout_gravity="top|right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/imageview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|left"
android:background="@android:color/black"
android:padding="10dp"/>
</FrameLayout>
And if in runtime I set ImageResource ((ImageView)findViewById(R.id.imageview)).setImageResource(R.drawable.ic_launcher);
Then I start receiving ERROR/GLUtils(10635): GL ERROR - after deleteUnusedTextures() glError (0x502)
There is no such error in HC, ICS.
What is wrong and where to submit bug?
Sample project - https://dl.dropbox.com/u/6804647/webviewtest.zip
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
do you have the answer for this bug? I found your question in many blogs but anyone answer you. Please help me
ReplyDelete