I am beginner in android . I want to overlay a image on webview . I use the Framelayout with webview and imageview .It works correctly. But when the videos are played in the webview the image is not displayed. how to display a image inside a player ? I mentioned my code below . please help me
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="0dp"
android:layout_margin="0dp">
<WebView
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_margin="0dp"
android:padding="0dp"
android:scaleType="center"/>
<ImageView
android:id="@+id/imageview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|center"
android:contentDescription="@string/webviewexample"
android:src="@drawable/image"/>
</FrameLayout >