]> git.ktnx.net Git - mobile-ledger.git/commitdiff
declare theme for the new transaction activity
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 26 Sep 2020 14:13:45 +0000 (17:13 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 26 Sep 2020 14:13:45 +0000 (17:13 +0300)
avoids flashing when started up directly by a launcher shortcut

app/src/main/AndroidManifest.xml

index d82e1d504b478bd090b73cdbb716a360c8f865b0..b15537eccdc47821ddd3a9d0911a082aa4f485e8 100644 (file)
@@ -47,7 +47,8 @@
         <activity
             android:name=".ui.activity.NewTransactionActivity"
             android:label="@string/title_activity_new_transaction"
-            android:parentActivityName=".ui.activity.MainActivity" />
+            android:parentActivityName=".ui.activity.MainActivity"
+            android:theme="@style/AppTheme.default" />
         <activity
             android:name=".ui.activity.ProfileDetailActivity"
             android:label="@string/title_profile_details"