Thomas,
I did exactly what you said, but it doesn’t seem to work yet. Is there anything else you can do?
This is my code:
@SuppressLint(“InflateParams”)
@override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
super.onCreateView(inflater, container, savedInstanceState);
ll = (FrameLayout) inflater.inflate(R.layout.fragment_webview,
container, false);
setHasOptionsMenu(true);
browser = ll.findViewById(R.id.webView);
mSwipeRefreshLayout = ll.findViewById(R.id.refreshlayout);
browser.setListener(getActivity(), this);
browser.setGeolocationEnabled(Config.WEBVIEW_GEOLOCATION);
browser.getSettings().setUserAgentString(“universalandroid”);
browser.setWebViewClient(new WebViewClient() {