透明背景+闪光灯在WebView中的Andr​​oid 3.0以上版本? [英] Transparent Background + Flash in WebView on Android 3.0+?

查看:80
本文介绍了透明背景+闪光灯在WebView中的Andr​​oid 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中的Andr​​oid 3.0以上版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆