透明背景+闪光灯在WebView中的Android 3.0以上版本? [英] Transparent Background + Flash in WebView on Android 3.0+?
问题描述
我想用透明背景和闪光内容的WebView。
这两件事情很好地工作separatly却不能在一起。因此,对于闪存,我需要的android:hardwareAccelerated =真正的
但随后的背景不会是透明的。如果我设置的android:hardwareAccelerated =FALSE
背景将成为pretty透明的,但我将不会看到任何flash内容
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?
推荐答案
检查出堆栈溢出这种类似的问题:
<一href=\"http://stackoverflow.com/questions/5003156/android-webview-style-background-colortransparent-ignored-on-android-2-2\">Android的WebView风格背景色:在Android 2.2透明忽略它似乎是已经报道的一个错误
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
这篇关于透明背景+闪光灯在WebView中的Android 3.0以上版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!