<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context="com.hewgill.android.nzsldict.SignVideoFragment"
    android:layout_width="fill_parent"
    android:background="@android:color/black"
    android:layout_height="wrap_content">
    <VideoView
        android:id="@+id/sign_video"
        android:layout_width="fill_parent"
        android:gravity="center"
        android:layout_height="wrap_content"
        android:scaleType="fitCenter"
     />
</RelativeLayout>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context="com.hewgill.android.nzsldict.SignVideoFragment"
    android:layout_width="fill_parent"
    android:background="@android:color/black"
    android:layout_height="wrap_content">
    <VideoView
        android:id="@+id/sign_video"
        android:layout_width="fill_parent"
        android:gravity="center"
        android:layout_height="wrap_content"
        android:scaleType="fitCenter"
     />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="64dp"
        android:background="@color/cardview_light_background"
        android:layout_gravity="center|center_vertical"
        android:id="@+id/sign_video_network_unavailable"
        android:orientation="vertical">

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:paddingBottom="24dp"
            android:src="@drawable/ic_videocam_off" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="16dp"
            android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"
            android:text="Network access required" />


        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textAppearance="@style/Base.TextAppearance.AppCompat.Body1"
            android:text="Playing videos requires access to the Internet." />


    </LinearLayout>
</RelativeLayout>
Add layout for displaying connectivity error message
Add layout for displaying connectivity error message
