Skip to content

[Android] Status bar icons become unreadable when UseMaterial3 is enabled in Microsoft.Maui.Controls 10.0.100 #37705

Closed

Description

@kamano1

Description

When Material 3 is enabled by setting:
<UseMaterial3>true</UseMaterial3>

the Android status bar icon and text colors become incorrect, resulting in poor visibility.

With Microsoft.Maui.Controls 10.0.100, the status bar appears to use the same color for both the background and the status bar content.

Observed behavior:

Light mode:

  • Status bar background: White
  • Status bar icons/text: White

Dark mode:

  • Status bar background: Black
  • Status bar icons/text: Black

As a result, the status bar content becomes difficult or impossible to read.

This issue reproduces on Android 15 and Android 17.

The problem does not occur with Microsoft.Maui.Controls 10.0.90 under the same project configuration. In that version, the status bar colors are applied correctly and remain readable.

I have screenshots available comparing 10.0.90 and 10.0.100.

Image

Steps to Reproduce

  1. Create a new .NET MAUI application from the default Visual Studio template.

  2. Update Microsoft.Maui.Controls to version 10.0.100.

  3. Add the following property to the project file(.csproj):
    <UseMaterial3>true</UseMaterial3>

  4. Build and run the application on an Android device or Android emulator.

  5. Observe the status bar appearance:

    • Light mode: white background with white icons/text.
    • Dark mode: black background with black icons/text.
  6. Downgrade Microsoft.Maui.Controls to version 10.0.90.

  7. Rebuild and run the application again.

  8. Compare the status bar appearance. The issue does not occur in 10.0.90 and the icon/text colors are displayed correctly.

Link to public reproduction project repository

No response

Version with bug

10.0.100

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

10.0.90

Affected platforms

Android

Affected platform versions

Android 15/17

Did you find any workaround?

I understand that there is no other way than to downgrade to 10.0.90.

Relevant log output

Activity

  1. added
    t/bug
    on Aug 21, 2026
  2. NafeelaNazhir commented on Aug 21, 2026

    @NafeelaNazhir
    Contributor

    This issue has been validated in Visual Studio Code 1.132.0 with .NET MAUI versions 10.0.90 and 10.0.100. It can be reproduced on the Android platform from 10.0.100 version.

    SwipeViewIssue 2.zip

    10.0.90 Output 10.0.100 Output
    ImageImage ImageImage
  3. added
    s/verified
    s/triaged
    i/regression
    on Aug 21, 2026
  4. added a commit that references this issue on Aug 21, 2026
    10a0dc5
  5. added this to the .NET 10 SR11 milestone on Aug 21, 2026
  6. added 6 commits that reference this issue on Aug 27, 2026
    9d3ddd3
    73cffbe
    99d749b
    cc99d23
    403e494
    d1f1209
  7. kubaflo commented on Oct 10, 2026

    @kubaflo
    Contributor

    Thank you for the report and the investigation details. We are closing this as completed: the Android default template uses colorSurface for Material 3 while retaining colorPrimary for Material 2, correcting status-bar icon contrast. The corresponding servicing backport has also merged.

    Supporting evidence: #37710 (merged into inflight/current), #37730 (merged into vs/10.0.101).

    This records the merged source change; it does not imply that the fix is present in every released .NET MAUI package.

    If you can still reproduce the reported behavior in a build that includes the linked change, please comment here with the exact version and reproduction details so we can reopen and investigate. The existing reproduction and discussion remain available; a new issue is not required.

  8. locked and limited conversation to collaborators on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-platformi/regressionplatform/androidregressed-in-10.0.100s/triageds/verifiedt/bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions