Bug Fixes - mike-denton/GBC-Navigation-Application GitHub Wiki
NOTE: THIS MUST BE DONE WHENEVER THE APPLICATION IS PULLED FROM GITHUB
When the app is ran, the initial screen showed up grey, which caused issues transitioning to the splash screen. We managed to turn that grey screen into the same color as the splash screen background (yellow color).
- Navigate to
/platforms/android/app/src/main/res/values
create a file called "colors.xml" and "themes.xml" and copy paste the following code.
colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="bg">#FFC300</color>
</resources>
themes.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Bg" parent="@android:style/Theme.DeviceDefault.NoActionBar">
<item name="android:windowBackground">@color/bg</item>
</style>
</resources>
- Navigate to
/platforms/android/app/src/main
open "AndroidManifest.xml" findandroid:theme="@android:style/Theme.DeviceDefault.NoActionBar"
in the file and replace it with the following code.
AndroidManifest.xml
android:theme="@style/Theme.Bg"
- Now rebuild your application and see the results!