 <p>Look at your AndroidManifest.xml file.</p> <p>In application: Remove android:theme="@style/AppTheme" </p> <p>In activity: Add android:screenOrientation ="landscape" or add android:screenOrientation ="portrait"</p>