From 8a3afaf9e6f520e2668ee6171119b8d0385c2e56 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Fri, 14 Apr 2023 20:49:47 -0400 Subject: [PATCH] citra_android: Fix background color on first launch The incorrect background color could appear when the games fragment is not initialized as it is during first boot. Now it appears correctly as colorSurface. --- src/android/app/src/main/res/layout/activity_main.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/android/app/src/main/res/layout/activity_main.xml b/src/android/app/src/main/res/layout/activity_main.xml index c567abe69..f668ae761 100644 --- a/src/android/app/src/main/res/layout/activity_main.xml +++ b/src/android/app/src/main/res/layout/activity_main.xml @@ -4,7 +4,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/coordinator_main" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:background="?attr/colorSurface">