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

[MAUI] Set the Resize attribute to “False” for MauiSplashScreen, it will keep previous SplashScreen’s app icon and icon background. #25217

Open
samhouts opened this issue Oct 11, 2024 · 0 comments
Labels
t/bug Something isn't working

Comments

@samhouts
Copy link
Member

Affected Branch: main
Affected Build: 17.8.0 Preview 2.0 [34308.144.main]
Version info:
  • .NET SDK: 8.0.100
  • Sdk-manifest: 8.0.100
  • microsoft.net.sdk.android: 34.0.43
  • microsoft.net.sdk.maui:  8.0.1

Steps to reproduce:
1.Create a new .NET MAUI project, change Framework to net8.0-android.
2. Start debugging, observe the Splash Screen that displays blue background with white clear .NET icon.
3.Right-Click the project node in the Solution Explorer and select Edit Project File
5.Locate the MauiSplashScreen node in the file, change color to Green, and set the Resize attribute to “False”, to stop vector images being resized, just like below:
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="Green" Resize="False" BaseSize="128,128" />
6.Debug the app once more and observe the Splash Screen 

Actual:  Resize="False" attribute let it keeps previous SplashScreen’s app icon and icon background.
Image
Expected: Resize="False" attribute is to stop vector images being resized, it should just keep app icon does not change size, shouldn't keep the icon's background color as previous SplashScreen’s background color.

View on AzDO

@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Oct 11, 2024
@samhouts samhouts added t/bug Something isn't working and removed s/triaged Issue has been reviewed labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant