diff --git a/app/build.gradle b/app/build.gradle index e155e8a..920f7f2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,13 +6,13 @@ plugins { } android { - compileSdkVersion 30 + compileSdkVersion 31 buildToolsVersion "30.0.3" defaultConfig { applicationId "org.mosad.teapod" minSdkVersion 23 - targetSdkVersion 30 + targetSdkVersion 31 versionCode 9000 //00.09.000 versionName "1.0.0-beta1" @@ -48,17 +48,18 @@ dependencies { implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2' implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1' - implementation 'androidx.core:core-ktx:1.6.0' - implementation 'androidx.appcompat:appcompat:1.3.1' - implementation 'androidx.constraintlayout:constraintlayout:2.1.0' - implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5' - implementation 'androidx.navigation:navigation-ui-ktx:2.3.5' + implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.core:core-splashscreen:1.0.0-beta01' + implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.3' + implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1' + implementation 'androidx.navigation:navigation-ui-ktx:2.4.1' implementation 'androidx.security:security-crypto:1.1.0-alpha03' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1' - implementation 'com.google.android.material:material:1.4.0' + implementation 'com.google.android.material:material:1.5.0' implementation 'com.google.code.gson:gson:2.8.8' // TODO remove, still used by metadb implementation 'com.google.android.exoplayer:exoplayer-core:2.15.0' implementation 'com.google.android.exoplayer:exoplayer-hls:2.15.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9cd30f9..b089642 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -11,11 +11,17 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:theme="@style/AppTheme.Dark"> + android:theme="@style/Theme.App.Starting"> + + @@ -23,22 +29,10 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_splash_foreground.xml b/app/src/main/res/drawable/ic_splash_foreground.xml new file mode 100644 index 0000000..2b2244b --- /dev/null +++ b/app/src/main/res/drawable/ic_splash_foreground.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_splash_logo.png b/app/src/main/res/drawable/ic_splash_logo.png deleted file mode 100644 index 7408b8a..0000000 Binary files a/app/src/main/res/drawable/ic_splash_logo.png and /dev/null differ diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_splash_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_splash_round.xml new file mode 100644 index 0000000..90cc6f1 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_splash_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_splash_round.png b/app/src/main/res/mipmap-hdpi/ic_splash_round.png new file mode 100644 index 0000000..f827cf4 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_splash_round.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_splash_round.png b/app/src/main/res/mipmap-mdpi/ic_splash_round.png new file mode 100644 index 0000000..42a62ee Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_splash_round.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_splash_round.png b/app/src/main/res/mipmap-xhdpi/ic_splash_round.png new file mode 100644 index 0000000..aa56c8b Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_splash_round.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_splash_round.png b/app/src/main/res/mipmap-xxhdpi/ic_splash_round.png new file mode 100644 index 0000000..ca642b9 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_splash_round.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_splash_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_splash_round.png new file mode 100644 index 0000000..5a5e12a Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_splash_round.png differ diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index a81619d..9af8790 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -26,4 +26,5 @@ #11ffffff #ffffff + #ffffff \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index fdeacc0..032a7a9 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -71,10 +71,20 @@ - +