Cordova – Remove the title bar phoneGAP

How to delete the title bar that is displayed for about one second at the beginning of the application in phonegap construction?
I tried full screen, as shown in Phonegap remove title bar at start, it worked, the app is full screen but the title bar stil is displayed for a second or so when the app starts.
When building locally, I can use Command android: theme = “@ android:style / Theme.NoTitleBar”> delete the title bar form manifest.xml.

How to completely delete the title bar from the phonegap build?

I solved it by adding these lines to config.xml



android:xlargeScreens="false"
android:largeScreens="false"
android:smallScreens="false" />< br />


Alex is already in The solution is provided in the first article. I want to clarify two things:

>You can use it without disabling support for certain screen sizes. Please note that I have added the supports- Change the attribute of screens to true
>You also need to provide an android namespace, or PhoneGap Build will complain about “malformed config.xml” (see the bold line below)

So this will Is your config.xml:

 xmlns:gap = "http ://phonegap.com/ns/1.0"

xmlns: android = “http://schemas.android.com/apk/res/android”

id = "com.domain.app"
version = "1.0.0">

...


android:xlargeScreens="true"
android:largeScreens="true"
android:smallScreens="true" />





Hat tips to wild animals on github.

< /div>

How to delete the title bar that is displayed for about one second at the beginning of the application in phonegap construction?
I tried full screen, as shown in Phonegap remove title bar at start, it worked, the app is full screen but the title bar stil is displayed for a second or so when the app starts.
When building locally, I can use Command android: theme = “@ android:style / Theme.NoTitleBar”> delete the title bar form manifest.xml.

How to completely delete the title bar from the phonegap build?

I solved it by adding these lines to config.xml



android:xlargeScreens="false"
android:largeScreens="false"
android:smallScreens="false" />< br />


Alex has provided a solution in the first article. I think To clarify two things:

>You can use it without disabling support for certain screen sizes. Please note that I have changed the attribute of supports-screens to true
>You also You need to provide an android namespace, or PhoneGap Build will complain about “malformed config.xml” (see the bold line below)

So this will be your config.xml:

< p>

 xmlns:gap = "http://phonegap.com/ns/1.0"< /pre> 

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

id = "com.domain.app" 
version = "1.0.0">

...


android:xlargeScreens="true"
android:largeScreens="true"
android:smallScreens="true" />

< activity android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >



Hat tips to wild animals on github.

Leave a Comment

Your email address will not be published.