[Android] cannot hide status bar
Posted: Sat Sep 28, 2019 9:38 am
Hello,
I'm trying to hide the status bar on Android. Here is my Manifest:
It currently doesn't work and still display the status bar. I have read on the Android documentation that the method to hide the status bar changed between Android 4.0 and upper. (source: https://developer.android.com/training/system-ui/status)
Any idea how to solve this problem? Thanks for help.
I'm trying to hide the status bar on Android. Here is my Manifest:
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest package="com.loustak.cadence"
android:versionCode="1"
android:versionName="1.0.0"
android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<uses-feature android:glEsVersion="0x00020000"/>
<application
android:allowBackup="true"
android:icon="@drawable/love"
android:label="Cadence"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
>
<activity
android:configChanges="orientation|screenSize"
android:label="Cadence"
android:launchMode="singleTop"
android:name="org.love2d.android.GameActivity"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
</application>
</manifest>
Any idea how to solve this problem? Thanks for help.