diff --git a/apk/src/app/example/ExampleApp.java b/apk/src/app/example/ExampleApp.java index 87da4dd..1f9632c 100644 --- a/apk/src/app/example/ExampleApp.java +++ b/apk/src/app/example/ExampleApp.java @@ -17,15 +17,23 @@ public class ExampleApp extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + // this removes the title bar (a ~1cm big strip at the top of the app showing its name + this.requestWindowFeature(Window.FEATURE_NO_TITLE); + // we create the webview (at least on the android 14 that is a webview that features avif + websockets etc....) WebView myWebView = new WebView(this);//activityContext); + // we create a webview (there is also setwebviewclient-vs-setwebchromeclient WebViewClient myWebViewClient= new WebViewClient(); myWebView.setWebViewClient(myWebViewClient); - String unencodedHtml = "https://html5test.co/