You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Status bar behavior doesn't work on .NET 10 on Android #2947
When we navigate to a page that has the StatusBarBehavior attached, and we've set a specific color for the status bar, the behavior doesn't actually modify the status bar accordingly. The status bar color takes the colorAccent color from the colors.xml file (or falls-back to the default one, if there's no such file).
Expected Behavior
When we navigate to a page that has the StatusBarBehavior attached, and we've set a specific color for the status bar, the behavior should change the status bar to be with the color that we've predefined.
The bug is Android-only and is also happening if we use Shell navigation or if we define the behavior in the code-behind.
This used to work pre-.NET 10.
The StatusBarStyle property is working and updating properly.
One strange thing that I've seen is that when we navigate to a page, for a very short amount of time the page's background gets colored with the status bar color, but then it disappears. This can be observed in the following GIF:
Activity
VladislavAntonyuk commentedon Nov 18, 2025
Already fixed by @TheCodeTraveler for android 35+
mduchev commentedon Nov 18, 2025
@VladislavAntonyuk Can you point me to the PR that fixes it? And when is it scheduled for release, if there's a date already?
VladislavAntonyuk commentedon Nov 18, 2025
32a0883