From dc53d92774b2ad47a921646bca65ada19aeed624 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 20 May 2020 22:31:16 +0300 Subject: [PATCH] fix status bar background when switching profiles (and themes) it appears that if there is a theme defined in the app manifest, the status bar takes its background from there when the activity is recreate()'d after a profile/theme change however, this needs that the theme is set up before the AppCompatActivity's onCreate() is called --- app/src/main/AndroidManifest.xml | 1 - .../ktnx/mobileledger/ui/activity/ProfileThemedActivity.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c7e09ef2..c0ec9059 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -29,7 +29,6 @@ android:roundIcon="@mipmap/app_icon" android:supportsRtl="true" android:networkSecurityConfig="@xml/network_security_config" - android:theme="@style/AppTheme" tools:ignore="GoogleAppIndexingWarning"> { mProfile = mobileLedgerProfile; -- 2.39.5