Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully Transparent WebView ? #22

Open
lkcanal opened this issue Jun 13, 2014 · 1 comment
Open

Fully Transparent WebView ? #22

lkcanal opened this issue Jun 13, 2014 · 1 comment

Comments

@lkcanal
Copy link

lkcanal commented Jun 13, 2014

Hello,

I'tried to get the webview transparent (did a html body with background-color: rgba(0,0,0,0); and still got a white color background.
The idea is to mix a chromium webiview with others layouts below it to get an hybrid html/java application.
I tried to set the SurfaceView transparent mSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT); and changed its backgroundColor to Color.TRANSPARENT in ContentViewRenderView class, but still got a blank background and my web site.
Is there a way to get the background transparent ?

Thx.

@mogoweb
Copy link
Owner

mogoweb commented Jun 15, 2014

Hi, KATIC:

In a project, we *punch a hole in a WebView to let Video Surface shown, but
I have no knowledge of how doing in Chromium. *

2014-06-13 21:45 GMT+08:00 KATIC notifications@github.com:

Hello,

I'tried to get the webview transparent (did a html body with
background-color: rgba(0,0,0,0); and still got a white color background.
The idea is to mix a chromium webiview with others layouts below it to get
an hybrid html/java application.
I tried to set the SurfaceView transparent
mSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT); and changed
its backgroundColor to Color.TRANSPARENT in ContentViewRenderView class,
but still got a blank background and my web site.
Is there a way to get the background transparent ?

Thx.


Reply to this email directly or view it on GitHub
#22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants