Android Question White Action bar at splash screen

AndroidMadhu

Active Member
Licensed User
Hello
I am getting a white action bar while opening the splash screen.
I have entered the below code at Manifest file :
B4X:
SetActivityAttribute(Main, android:theme, "@style/DarkTheme")
CreateResource(values, theme.xml,
<resources>
      <style
              name="DarkTheme" parent="@android:style/Theme.Material.Light.NoActionBar.Fullscreen">
  <item name="android:windowBackground">@color/window</item>
      </style>
</resources>
)
CreateResource(values, colors.xml,
<resources>
      <color name="window">#FF5B7BFF</color>
</resources>
)

But still I am getting the while color Action bar at the top and bottom of splash screen.

splash.jpeg


How do I remove the white space from top and bottom of splash screen

Please advice

Thanks
 
Top