<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:keepScreenOn="true"
             xmlns:tools="http://schemas.android.com/tools"
             android:id="@+id/frame_content">

    <FrameLayout
        android:id="@+id/frame_emulation_fragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

    <org.dolphinemu.dolphinemu.ui.NVidiaShieldWorkaroundView
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal"
        android:baselineAligned="false">

        <FrameLayout
            android:id="@+id/frame_menu"
            android:layout_width="@dimen/menu_width"
            android:layout_height="match_parent"
            tools:layout="@layout/fragment_ingame_menu"/>

        <FrameLayout
            android:id="@+id/frame_submenu"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>

    </LinearLayout>

</FrameLayout>
