mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:57:13 +02:00
Try Picture in Picture mode for webview activity
This commit is contained in:
parent
aeddf2ed67
commit
416d2fbb20
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ public class WebViewActivity extends Activity {
|
||||||
webSettings.setBuiltInZoomControls(true);
|
webSettings.setBuiltInZoomControls(true);
|
||||||
webSettings.setDisplayZoomControls(false);
|
webSettings.setDisplayZoomControls(false);
|
||||||
myWebView.loadUrl(mUrl);
|
myWebView.loadUrl(mUrl);
|
||||||
|
enterPictureInPictureMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue