Skip to content

Wrong left margin in the navigation bar on Android #18843

@Victor-Porter

Description

@Victor-Porter

Description

When I use a navigation bar on a screen on Android, it shows as a "left margin" by default.
In Windows it does not set this left margin.

I attach image of the error:

image

Steps to Reproduce

  1. Create a new MAUI project.
  2. Change the creation of the MainPage as NavigationPage on App.xaml.cs (If it is created as AppShell).
  3. Register MainPage view in MauiProgram.cs
  4. Add NavigationPage.TitleView in MainPage.xaml.
  5. Launch the application and see the error.

Link to public reproduction project repository

Link to the repository

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Did you find any workaround?

I couldn't find anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-navigationNavigationPageplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions