Ola
Before the main activity gets shown, there is a "splash" screen that's gets displayed. This is usually a blank white page with a page title. The code in this manifest script helps in "hiding" it. This script was found somewhere in the forum and it works perfectly.
Sadly this affects how B4XPages works, it raises an error that an object should be initialized. This was raised in this thread.
Thank you.
Before the main activity gets shown, there is a "splash" screen that's gets displayed. This is usually a blank white page with a page title. The code in this manifest script helps in "hiding" it. This script was found somewhere in the forum and it works perfectly.
B4X:
SetActivityAttribute(Main, android:theme, "@style/DarkTheme")
CreateResource(values, theme.xml,
<resources>
<style name="DarkTheme" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
</resources>)
Sadly this affects how B4XPages works, it raises an error that an object should be initialized. This was raised in this thread.
[B4xPages] [SOLVED] 'Error occurred on line: 15 (B4XPages)'
Ola I'm pulling my hair out right now. I have followed all examples I could find to make my app work and this just does not want to go away. Someone said, this setting was possibly the cause #IncludeTitle: False and this should be true, I have set this to all my layouts and in the code...
www.b4x.com
Thank you.