Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
How I turn off stupid Android Status bar? — Gideros Forum

How I turn off stupid Android Status bar?

edited April 2014 in General questions
Well...

I wish to know how I do that, Corona does that by default (in fact I think you cannot turn it on even if you wanted to).

I tried following Android manual, did not even compiled (neither in programmatic neither in xml editing way).

I following tips on Stackoverflow, those ones DID compiled, but the status bar was still visible.

So, how I get rid of the status bar?
I make games for children: http://www.kidoteca.com

Comments

  • ar2rsawseenar2rsawseen Maintainer
    Interestingly, but status bar should be turned of by default
    It's done by providing theme for application in manifest:
    android:theme="<a href="http://forum.giderosmobile.com/profile/android" rel="nofollow">@android</a>:style/Theme.NoTitleBar.Fullscreen"
  • Yes, I did that, did not worked.

    Also the Activity has its own theme set too, it might be conflicting.

    I have the distinct impression that Gideros SDK internally is overriding this setting and loading the bar again programatically.
    I make games for children: http://www.kidoteca.com
  • ar2rsawseenar2rsawseen Maintainer
    Why do you have a theme set to an activity?
    By default it is exported without it
  • I never put a theme in the activity, Gideros did. I only edit the version number.
    I make games for children: http://www.kidoteca.com
  • ar2rsawseenar2rsawseen Maintainer
    edited April 2014
    Just exported plain app and here is the generated part of Android Manifest:
    <application android:icon="<a href="http://forum.giderosmobile.com/profile/drawable%2Ficon%26quot" rel="nofollow">@drawable/icon&quot</a>; 
        android:label="<a href="http://forum.giderosmobile.com/profile/string%2Fapp_name%26quot" rel="nofollow">@string/app_name&quot</a>; 
        android:theme="<a href="http://forum.giderosmobile.com/profile/android" rel="nofollow">@android</a>:style/Theme.NoTitleBar.Fullscreen">
            <activity android:label="<a href="http://forum.giderosmobile.com/profile/string%2Fapp_name%26quot" rel="nofollow">@string/app_name&quot</a>; 
              android:name="com.giderosmobile.android.TestActivity"
              android:launchMode="singleTask"
              android:screenOrientation="portrait" 
              android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
    theme only set to application tag, does your activity has some kind of other changes?
  • Alright, that is weird. I deleted the whole project, and exported again (instead of exporting assets), this time it worked.

    I guess the Gideros version I used to do the original export was broken.
    I make games for children: http://www.kidoteca.com
Sign In or Register to comment.