开发者

WebView transparency does not work when hardware acceleration is turend on

开发者 https://www.devze.com 2023-04-12 11:45 出处:网络
When 开发者_如何学JAVAusing Android 3.0+ and enabling hardware acceleration in your AndroidManifest.xml file, WebViews can no longer be transparent. Even worse, transparent parts of images in your web

When 开发者_如何学JAVAusing Android 3.0+ and enabling hardware acceleration in your AndroidManifest.xml file, WebViews can no longer be transparent. Even worse, transparent parts of images in your web content are just rendered white!

So the question is, is there a workaround or are we forced to live without hardware acceleration (or transparency in webviews)?


This is currently broken in 3.0+ with hardware acceleration turned on.

http://code.google.com/p/android/issues/detail?id=14749

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号