]> git.ktnx.net Git - mobile-ledger.git/commitdiff
declare theme for the splash and main activities
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 17 Aug 2020 16:42:08 +0000 (19:42 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 17 Aug 2020 16:42:08 +0000 (19:42 +0300)
seems to help reduce flicker upon startup

app/src/main/AndroidManifest.xml

index 6a0c670981f9e581665bcd80b6301adc75f442b0..0f8ad7f722734ed44e67e9c9737724474a70cc1c 100644 (file)
@@ -32,6 +32,7 @@
         android:networkSecurityConfig="@xml/network_security_config"
         tools:ignore="GoogleAppIndexingWarning">
         <activity
+            android:theme="@style/AppTheme.default"
             android:name=".ui.activity.SplashActivity"
             android:label="@string/app_name">
             <intent-filter>
@@ -41,7 +42,8 @@
         </activity>
         <activity
             android:name=".ui.activity.MainActivity"
-            android:label="@string/app_name"></activity>
+            android:label="@string/app_name"
+            android:theme="@style/AppTheme.default" />
         <activity
             android:name=".ui.activity.NewTransactionActivity"
             android:label="@string/title_activity_new_transaction"