Skip to content

Commit

Permalink
fixed white background while loading app
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonfra04 committed Jan 16, 2024
1 parent d4f248f commit b6183e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />
<item android:drawable="@color/bg_color" />

<!-- You can insert your own image assets here -->
<!-- <item>
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/drawable/launch_background.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />
<item android:drawable="@color/bg_color" />

<!-- You can insert your own image assets here -->
<!-- <item>
Expand Down
6 changes: 6 additions & 0 deletions android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name="bg_color"
>#FF212121</color>
</resources>

0 comments on commit b6183e8

Please sign in to comment.