emotionhero/app/src/main/res/layout/activity_gaming.xml

53 lines
1.7 KiB
XML
Raw Normal View History

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"
2016-08-19 16:07:14 +00:00
android:keepScreenOn="true"
2016-08-16 17:25:28 +00:00
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"
2016-08-19 18:56:58 +00:00
android:textStyle="bold"
android:paddingBottom="100dp"
android:shadowColor="@android:color/black"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="20" />
2016-08-16 17:25:28 +00:00
2016-08-17 17:21:16 +00:00
2016-08-16 17:25:28 +00:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
2016-08-17 17:21:16 +00:00
<Button
android:text="@string/restart"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/restartButton"
android:layout_gravity="center_vertical|center_horizontal"
android:visibility="gone" />
2016-08-17 11:17:04 +00:00
2016-08-16 17:25:28 +00:00
</FrameLayout>
</FrameLayout>