Fixed java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity

This commit is contained in:
Sylvain Berfini 2021-11-10 15:54:31 +01:00
parent b067a49cd0
commit 701c464882

View file

@ -39,13 +39,14 @@
android:label="${appLabel}"
android:roundIcon="@mipmap/ic_launcher_round"
android:extractNativeLibs="${extractNativeLibs}"
android:theme="@style/AppSplashScreenTheme"
android:theme="@style/AppTheme"
android:allowNativeHeapPointerTagging="false">
<activity android:name=".activities.main.MainActivity"
android:exported="true"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
android:windowSoftInputMode="adjustResize"
android:theme="@style/AppSplashScreenTheme">
<nav-graph android:value="@navigation/main_nav_graph" />
<intent-filter>