Skip to content
Open
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Fixes

- We have fixed the textinputs hiding behind on-screen keyboard.
- We have fixed the Android splash screen being stretched. The Mendix logo is now centered and displayed with the correct proportions on all screen sizes.

### Changes

Expand Down
Binary file removed android/app/src/main/res/drawable-hdpi/splash.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-ldpi/splash.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-mdpi/splash.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-xhdpi/splash.png
Binary file not shown.
Binary file removed android/app/src/main/res/drawable-xxhdpi/splash.png
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions android/app/src/main/res/drawable/bootsplash.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Splash window background: draw the splash image centered with its aspect
ratio preserved so the logo is never stretched to fill the window. -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="#161F30" />
</shape>
</item>
<item>
<bitmap
android:src="@drawable/splash_screen"
android:gravity="center" />
</item>
</layer-list>
6 changes: 0 additions & 6 deletions android/app/src/main/res/drawable/splash_screen.xml

This file was deleted.

2 changes: 1 addition & 1 deletion android/app/src/production/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@

<!-- BootSplash theme. -->
<style name="BootTheme" parent="Theme.MaterialComponents.NoActionBar">
<item name="android:windowBackground">@drawable/splash_screen</item>
<item name="android:windowBackground">@drawable/bootsplash</item>
</style>
</resources>