Default FlyoutMenu icon (hamburger icon) not shown in maui android after navigation, but works fine in windows

Chandra 0 Reputation points
2025-01-24T11:11:10.0766667+00:00

Default FlyoutMenu icon (hamburger icon) not shown in .net maui android after navigation, but works fine in windows.

User's image

Trying to navigate from MainPage to HomePage using below code

await Shell.Current.GoToAsync($"{nameof(HomePage)}");

await Navigation.PushAsync(new HomePage());

After navigation,in HomePage, hamburger icon is not shown in android, but works fine in windows. How to fix.

If I directly open HomePage without any navigation, FlyoutMenu icon is showing up in android, but issue only after navigation in android.

Tried below aswell, but didn't worked.

await Shell.Current.GoToAsync($"{nameof(Home)}");

// await Navigation.PushAsync(new Home());

Shell.Current.FlyoutBehavior = FlyoutBehavior.Flyout;

Shell.Current.FlyoutIsPresented = false;

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.