diff --git a/app/build.gradle b/app/build.gradle index 011fd26c..11d15cc5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,10 +62,6 @@ android { viewBinding true } - androidResources { - generateLocaleConfig true - } - namespace 'com.cappielloantonio.tempo' } @@ -81,6 +77,7 @@ dependencies { implementation 'androidx.recyclerview:recyclerview:1.3.1' implementation 'androidx.room:room-runtime:2.5.2' implementation 'androidx.core:core-splashscreen:1.0.1' + implementation "androidx.appcompat:appcompat:1.6.1" // Android Material implementation 'com.google.android.material:material:1.9.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index fd43a1e7..a81c8922 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -18,7 +18,8 @@ android:supportsRtl="true" android:theme="@style/AppTheme.SplashScreen" android:usesCleartextTraffic="true" - android:allowBackup="false"> + android:allowBackup="false" + android:localeConfig="@xml/locale_config"> + + @@ -50,5 +53,14 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/resources.properties b/app/src/main/res/resources.properties deleted file mode 100644 index d5a3ddc9..00000000 --- a/app/src/main/res/resources.properties +++ /dev/null @@ -1 +0,0 @@ -unqualifiedResLocale=en-US \ No newline at end of file diff --git a/app/src/main/res/xml/locale_config.xml b/app/src/main/res/xml/locale_config.xml new file mode 100644 index 00000000..46674b86 --- /dev/null +++ b/app/src/main/res/xml/locale_config.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file