<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:gravity="center">

    <TextureView
        android:layout_margin="@dimen/onfido_video_view_stroke_width"
        android:id="@+id/videoView"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <ImageButton
        android:id="@+id/play"
        android:clickable="false"
        android:background="@color/onfido_transparent"
        android:layout_centerInParent="true"
        app:srcCompat="@drawable/onfido_video_view_play_background"
        android:layout_width="@dimen/onfido_video_view_play_button_dimens"
        android:layout_height="@dimen/onfido_video_view_play_button_dimens" />

</RelativeLayout>