I have the following activity in my AndroidManifest.xml file:
<activity
android:name=".gameContent.GameActivity"
android:configChanges="orientation|screenSize"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
The problem is that I get the exception when I run my project:
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
What is the proper XML to set the fullscreen theme for this type of activity?