Startup App Phonegap Titlebar

Asked

Viewed 79 times

-1

Because when I buid my app and run it on my mobile appears on startup of the same gray bar with the application name and black background? Someone knows how to take it off?

  • You set a splash screen ? it is hard to say what can be without image or code, post something to clarify more this doubt.

  • Dude I don’t set any screen splash will that be it? It’s only on startup, so discard fullscreen=false

1 answer

0

I have found the solution and I know that many will be happy for this solution. Add this line below within the widget tag config.xml:

xmlns:android="http://schemas.android.com/apk/res/android" 

And now add the code below in your config.xml:

<gap:config-file platform="android" parent="/manifest">

       <supports-screens 
              android:xlargeScreens="false" 
              android:largeScreens="false" 
              android:smallScreens="false" />
        <application android:theme="@android:style/Theme.NoTitleBar" >
            <activity android:theme="@android:style/Theme.NoTitleBar.Fullscreen" ></activity>
        </application>
</gap:config-file>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.