Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cuttered icon in splashscreen #362

Merged
1 commit merged into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/src/main/res/drawable/splash_inset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<inset
xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/ic_launcher_foreground"
android:insetLeft="5dp"
android:insetTop="5dp"
android:insetRight="5dp"
android:insetBottom="5dp" />
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</style>

<style name="Theme.Exodus.Splash" parent="Theme.SplashScreen">
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_inset</item>
<item name="postSplashScreenTheme">@style/Theme.Exodus</item>
</style>

Expand Down