0

I am building a website that i will like to have desktop view instead of mobile view when view or access with mobile device not only when access through mobile device even when resizing desktop browser. I have have research on this but the language use is either java or kotlin, I am looking for way to do that using Javascript or html meta tag.

i have tried using this code

webView = (WebView)findViewById(R.id.webView1);
        webView.getSettings().setJavaScriptEnabled(true);
        webView.getSettings().setLoadWithOverviewMode(true);
        webView.getSettings().setUseWideViewPort(true);

        webView.getSettings().setSupportZoom(true);
        webView.getSettings().setBuiltInZoomControls(true);
        webView.getSettings().setDisplayZoomControls(false);

        webView.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
        webView.setScrollbarFadingEnabled(false);

since this is written in kolin i can not use it, which is from this link. i want it look like web hosting Cpanel file manager when view on mobile phone it looks like you changed the setting to view on desktop mode.

Umar umar
  • 11
  • 1
  • 4

0 Answers0