Comments (3)
I found this:
@Override
public final void onXWalkInitCompleted() {
setContentView(R.layout.xwview_transparent_layout);
StringBuffer mess = new StringBuffer();
mess.append("Test Purpose: \n\n")
.append(
"Check XWalkView's transparent feature whether display the view under the webview.\n\n")
.append("Expected Result:\n\n")
.append("Test passes if you can see button view & blue imageview");
new AlertDialog.Builder(this)
.setTitle("Info")
.setMessage(mess.toString())
.setPositiveButton("confirm", null)
.show();
mXWalkView = (XWalkView) findViewById(R.id.xwalkview_transparent);
mXWalkView.setZOrderOnTop(true);
mXWalkView.setBackgroundColor(0);
mXWalkView.load("http://www.baidu.com/", null);
}
But the setZOrderOnTop() function doesn't exist in mXWalkView class.
from crosswalknative.
yes it will not work. You can set background color from html/css in xwalkview.
from crosswalknative.
@ks32 I tried with set transparent in HTML/CSS but the SurfaceView inside xwalkview is white and the exoplayer above the xwalkview don't show.
Can you add the setZOrderOnTop() class in the mXWalkView?
from crosswalknative.
Related Issues (20)
- update chrome kernel? HOT 1
- Cookies & Sessions are no longer persisted after app terminate
- XWalkCookieManager is no bound to the XWalk webview - unable to manage cookies HOT 2
- How can i build ks_chrome_77 for android webview HOT 1
- gn cannot stably produce consistent build content
- NoClassDefFoundError: org.chromium.base.ObserverList HOT 1
- Rebasing crosswalk
- Cannot access xwalk_main_fat-77.2.aar because of git lFS HOT 7
- 100% Crash when opening www.youtube.com
- Build error > Failed to transform xwalk_main_fat-77.2.aar HOT 2
- The app crash onCreate HOT 1
- ./gradlew assemble error. Duplicate XWalkCoreWrapper$ReservedAction.dex
- How to build crosswalk77 HOT 1
- org.chromium.base.ApplicationStatus.initialize Issue HOT 3
- Request - Can you upload the source project for xwalk_main_fat-77.3.aar generation? HOT 1
- request has been blocked; the content must be served over HTTPS
- XWalkView In Viewpager Fragement
- 在ViewPager的Fragment中使用XWalkView表面会有一层阴影要怎么解决 HOT 2
- indexDB apis always returns null HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crosswalknative.