WebView localWebView = FindViewById<WebView>(Resource.Id.LocalWebView);
                    localWebView.SetWebViewClient(new WebViewClient());

                    string html = $@"
<html>
 <body bgcolor='black'>
  <a href ='{urlString}' target='_blank'>
   <div style='width: 280px; height: 230px; overflow: hidden; position: relative;'>
    <img src='{urlString}' style='position: absolute; top:-15px; left:-95px; width:430px; height: 240px;'/>
   </div>
  </a>
 </body>
</html>
";

                    localWebView.LoadData(html, "text/html", null);

 

 

+ Recent posts