2016-08-16 17:25:28 +00:00
|
|
|
<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:background="@color/colorPrimary"
|
|
|
|
tools:context="com.rubenvandeven.emotionhero.GamingActivity">
|
|
|
|
|
|
|
|
<!-- The primary full-screen view. This can be replaced with whatever view
|
|
|
|
is needed to present your content, e.g. VideoView, SurfaceView,
|
|
|
|
TextureView, etc. -->
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/video_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/fullscreen_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:keepScreenOn="true"
|
|
|
|
android:text="@string/dummy_content"
|
|
|
|
android:textColor="#ffffff"
|
|
|
|
android:textSize="50sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<!-- This FrameLayout insets its children based on system windows using
|
|
|
|
android:fitsSystemWindows. -->
|
|
|
|
|
2016-08-17 11:17:04 +00:00
|
|
|
<!--<view-->
|
|
|
|
<!--class="com.rubenvandeven.emotionhero.ScenarioView"-->
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
<!--android:id="@+id/scenarioView"-->
|
|
|
|
<!--android:layout_height="match_parent" />-->
|
|
|
|
|
2016-08-16 17:25:28 +00:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/fullscreen_content_controls"
|
|
|
|
style="?metaButtonBarStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:background="@color/black_overlay"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/dummy_button"
|
|
|
|
style="?metaButtonBarButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/dummy_button" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<SurfaceView
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:id="@+id/surfaceView" />
|
2016-08-17 11:17:04 +00:00
|
|
|
|
2016-08-16 17:25:28 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|