Discus is flickering in WebView. I'm using the ScrollView because it maintains the page banner but hides when user scrolls down. However, using the ScrollView to display the WebView also causes a flicker. Does anyone have any ideas on how to fix this?
inside Activity
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.whatsOn); WebView whatsOnWebView = FindViewById<WebView>(Resource.Id.webViewWhatsOn); whatsOnWebView.SetBackgroundColor(Android.Graphics.Color.Green); whatsOnWebView.SetWebViewClient(new MyWebViewClient(this)); whatsOnWebView.LoadUrl("https://bitchute.com/"); whatsOnWebView.Settings.JavaScriptEnabled = true; whatsOnWebView.Settings.BuiltInZoomControls = true; whatsOnWebView.Settings.SetSupportZoom(true); whatsOnWebView.ScrollbarFadingEnabled = false; }
inside whatsOn.axml
<?xml version="1.0" encoding="utf-8"?>
<android.webkit.WebView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/webViewWhatsOn" />
full project
github.com/hexag0d/bitchute_mobile_android_a2