My Android application comprises of only a webview, and only on Lollipop (5.0), I've noticed this issue where scrolling in the webview will result in this solid white horizontal bar appearing at the bottom of the page. When I stop scrolling, the horizontal bar fades out. Is there a webview setting that I can set to prevent this bar from appearing at all?
Before Scrolling:
While Scrolling:
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".MainActivity">
<RelativeLayout
android:id="@+id/nonVideoLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/activityMainImageview"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@drawable/portrait" />
<com.whil.whil.VideoEnabledWebView
android:id="@+id/activityMainWebview"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/videoLayout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</RelativeLayout>
</RelativeLayout>
Edit: Thank you everyone for your comments, but the question linked regarding hiding a scroll bar does not apply here as this bar that appears is not a scroll bar, so none of the solutions mentioned in the other question works here.