Author: Adam <git@apiote.xyz>
show splash screen
app/src/main/AndroidManifest.xml | 1 + app/src/main/res/values/themes.xml | 6 ++++++
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d49ebffd9f8b3c10f8e253c32395f43bf2f20289..d2478c7b8a3b0a9eff5234a919762e5ff954ce86 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -21,6 +21,7 @@android:name=".feeds.FeedChooserActivity" android:exported="false" /> <activity + android:theme="@style/Theme.Bimba.Splash" android:name=".FirstRunActivity" android:exported="true"> <intent-filter> diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 1081689f25ee509ba58eaf887a6f8e114bc3aba5..bdb3cbee08edf79c6d1c669f7e9acb5ab1820668 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -61,4 +61,10 @@ - @color/md_theme_light_onSurfaceVariant </item> <!-- todo grey out --> <item name="android:textSize">9sp</item> </style> + + <style name="Theme.Bimba.Splash" parent="Theme.SplashScreen"> + <item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item> + <item name="windowSplashScreenIconBackgroundColor">@color/ic_launcher_background</item> + <item name="postSplashScreenTheme">@style/Theme.Bimba</item> + </style> </resources> \ No newline at end of file