-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Unable to hide NavigationBar #23567
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
This issue has been verified using Visual Studio 17.11.0 Preview 3 (8.0.70 & 8.0.61 & 8.0.10). Can repro it. |
What you're trying to hide is the status bar, which is not possible. |
@JesseIngles Thanks for your suggestion, but it doesn't seem to work if I add
|
As pointed out this is not the navigation bar but the status bar. You can influence this color either with the .NET MAUI Community Toolkit functionality or set the color in Platforms/Android/Resources/values/colors.xml |
Description
.net8.0 之後似乎無法透過
NavigationPage.HasNavigationBar="False"
來隱藏 NavigationBarAndroid/MainActivity.cs
Steps to Reproduce
NavigationPage.HasNavigationBar="False"
加入 MainPage.xamlLink to public reproduction project repository
No response
Version with bug
8.0.61 SR6.1
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
7.0.100
Affected platforms
Android
Affected platform versions
Android 14.0
Did you find any workaround?
無
Relevant log output
The text was updated successfully, but these errors were encountered: