@Erel and anyone else that may be able to offer a work around solution.
This issue has been raised before by @barx Title not hiding properly
But the solution to set 'SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.NoActionBar")' in the manifest file does not work for me because I want to use the stdActionBar in my app, and if I apply this statement it causes a null reference exception when attempting to initialise the stdActionBar.
I also read that it can be caused due to using the designer and the time taken to load a layout. But I do not think this is the case. Making the above mentioned change to the manifest file works and provides the desired effect of completely removing the ActionBar during start-up, but it also means that it is no longer possible to use it at any time in the App as I believe that it is not possible to undo this setting?
Please view these two short clips, the first video demonstrates the bug. The Activity is set to be full screen and without titlebar but there is a brief glimpse of the App title. The second clip shows the same app but with the manifest alteration.
I've also provided a link to my code (file size to big to upload due to splash image ), you will see that I have attempted to load a blank panel and apply this to the Activity on start-up then half a second later load the layout. This was my attempt at removing any delay possibly caused by loading a layout.
In my naive mind I think that the problem is that the Activity is being loaded before the IncludeTitle property has been checked? I'm sure that it's probably not that simple though as I'm certain you would have fixed it before now. Is there anything else I can try or do we just have to live with it?
To run this test app the stdActionBar library will also be required.
https://www.dropbox.com/s/2c4a77nu6aatr6a/Splash_Test.zip?dl=0
Kind Regards,
RandomCoder
This issue has been raised before by @barx Title not hiding properly
But the solution to set 'SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.NoActionBar")' in the manifest file does not work for me because I want to use the stdActionBar in my app, and if I apply this statement it causes a null reference exception when attempting to initialise the stdActionBar.
I also read that it can be caused due to using the designer and the time taken to load a layout. But I do not think this is the case. Making the above mentioned change to the manifest file works and provides the desired effect of completely removing the ActionBar during start-up, but it also means that it is no longer possible to use it at any time in the App as I believe that it is not possible to undo this setting?
Please view these two short clips, the first video demonstrates the bug. The Activity is set to be full screen and without titlebar but there is a brief glimpse of the App title. The second clip shows the same app but with the manifest alteration.
I've also provided a link to my code (file size to big to upload due to splash image ), you will see that I have attempted to load a blank panel and apply this to the Activity on start-up then half a second later load the layout. This was my attempt at removing any delay possibly caused by loading a layout.
In my naive mind I think that the problem is that the Activity is being loaded before the IncludeTitle property has been checked? I'm sure that it's probably not that simple though as I'm certain you would have fixed it before now. Is there anything else I can try or do we just have to live with it?
To run this test app the stdActionBar library will also be required.
https://www.dropbox.com/s/2c4a77nu6aatr6a/Splash_Test.zip?dl=0
Kind Regards,
RandomCoder