]> git.ktnx.net Git - mobile-ledger-staging.git/commit
fix status bar background when switching profiles (and themes)
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 20 May 2020 19:31:16 +0000 (22:31 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 20 May 2020 19:39:41 +0000 (22:39 +0300)
commitdc53d92774b2ad47a921646bca65ada19aeed624
tree42c4e190689127fe8178437c734ec3608b9976df
parentd59f75ecb788410339c102693346ed34af8c3b2d
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
app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java