How to use Render Over Native UI?

How to use Render Over Native UI?
It do not work.

Unity version:2019.4.18f1
Android Platform
And java code:
FrameLayout frameLayout = new FrameLayout(this);
FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(1920, 1080); frameLayout.setLayoutParams(lp);
setContentView(frameLayout);
try {
ImageView camBigMask = new ImageView(this); camBigMask.setImageBitmap(BitmapFactory.decodeStream(this.getAssets().open(“image/B_bg_2.jpg”))); frameLayout.addView(camBigMask);
}
catch (Exception e) { }
mUnityPlayer = new UnityPlayer(this, this);
mUnityPlayer.setX(100);
mUnityPlayer.setY(100);
frameLayout.addView(mUnityPlayer);
mUnityPlayer.requestFocus();

![6726958–774136–HF97`IG}IT1_(V)BEM]L){1.png|1905x924](upload://iUVLrE35nXQXjLrbiumrxh16MXg.png)

Is there something I’m missing?

Can someone help me? It’s urgent.

Looks like you are doing something custom with the app, the app style needs to have translucent enabled to render over native UI. Most likely you need to add true in your app’s styles.xml

I did not modify the file.
I think Unity has bugs here,maybe wrong in the configuration.
you can try,create the new project, just change the my screenshot**.**

Urgent urgent…If I want to implement Unity rendering in a Native interface on IOS, do I need to do anything else in xcode other than check Render Over Native UI(I only do that,but it is not work)