<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             xmlns:tools="http://schemas.android.com/tools"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:keepScreenOn="true"
             tools:context="org.dolphinemu.dolphinemu.fragments.EmulationFragment">

    <!-- This is what everything is rendered to during emulation -->
    <SurfaceView
        android:id="@+id/surface_emulation"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:focusable="false"
        android:focusableInTouchMode="false"/>

    <!-- This is the onscreen input overlay -->
    <org.dolphinemu.dolphinemu.overlay.InputOverlay
        android:id="@+id/surface_input_overlay"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:focusable="true"
        android:focusableInTouchMode="true"/>

    <Button
        android:id="@+id/done_control_config"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:padding="@dimen/spacing_small"
        android:background="@color/dolphin_blue"
        android:textColor="@color/lb_tv_white"
        android:text="@string/emulation_done"
        android:visibility="gone"/>

</FrameLayout>
