Transparent Background + Flash in WebView on Andro

2019-08-19 02:02发布

问题:

I want a WebView with a transparent background and a flash content. These two things work perfectly separatly but not together. So for flash i need android:hardwareAccelerated="true" but then the background won't be transparent. If i set android:hardwareAccelerated="false" the background will become pretty transparent but I won't see any flash content.

How can I solve that problem?

回答1:

Check out this similar question on stack overflow: Android WebView style background-color:transparent ignored on android 2.2 it appears to be a bug that has been reported