Closed k2helix closed 3 months ago
This PR adds the androidx Splash Screen compat library, which can be used to show fancy animations when opening the app on API 31+ (Android 12+), and maintains the old behaviour on apis prior to that.
More spefically, I wanted to have different a splash screen when on dark mode, solving https://github.com/IacobIonut01/Gallery/issues/318.
I followed this official guide to migrate to this api: https://developer.android.com/develop/ui/views/launch/splash-screen/migrate.
Tested and working on Pixel 8 (physical) and Pixel 3a (virtual)
Looks good to me
This PR adds the androidx Splash Screen compat library, which can be used to show fancy animations when opening the app on API 31+ (Android 12+), and maintains the old behaviour on apis prior to that.
More spefically, I wanted to have different a splash screen when on dark mode, solving https://github.com/IacobIonut01/Gallery/issues/318.
I followed this official guide to migrate to this api: https://developer.android.com/develop/ui/views/launch/splash-screen/migrate.
Tested and working on Pixel 8 (physical) and Pixel 3a (virtual)