0

How can I use a master view on top of my Shell?

In .NET MAUI app I am using Shell on top of which I need to design a custom status bar. How can I have it as a master view on top of my app shell?

enter image description here

F.F
  • 11
  • 6
  • by master view do you mean the status bar which shows time, battery and wifi or do you mean the navigation bar which have hamburger menu and title – Paramjit Mar 13 '23 at 10:47
  • @Paramjit he means the hamburger menu. This question gets asked once a week. This week we got it on Monday, so maybe it will be asked more than once. – H.A.H. Mar 13 '23 at 10:49
  • yes, I mean a master view where I can have the status bar maybe along with the navigation bar too. so it's common throughout my app. – F.F Mar 13 '23 at 10:52
  • @H.A.H. can you redirect me to where it's been asked before? – F.F Mar 13 '23 at 10:54
  • @F.F yes, at the bottom of the current page with questions: https://stackoverflow.com/questions/75692967/how-can-i-customize-the-title-in-a-net-maui-flyout-shell-app And 100 times before that. For some reason none of them get ever marked as duplicates. – H.A.H. Mar 13 '23 at 10:58
  • No, this is different. I want something like this below. A master page that contains my custom status bar and nav bar along with my Shell. ` ` I am not sure if this is something that's even possible cause I have been trying it out myself with no luck. – F.F Mar 13 '23 at 11:35
  • You can customize navbar using Shell.TitleView. For status bar the dotnet maui customization is limited to coloring only. Check out status bar behaviour at https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/behaviors/statusbar-behavior?tabs=android – Paramjit Mar 13 '23 at 12:45
  • Yes. but you can't customize the navbar to give it a gradient background color. and I need a full customized status bar as shown in picture above. – F.F Mar 13 '23 at 12:59
  • If you want to custom the status bar, you neet to hide the system bar at first. And you need to make the customized status bar interact with the system, such as the power, signal and so on. It's a hard work. – Liyun Zhang - MSFT Mar 14 '23 at 09:54
  • @LiyunZhang-MSFT That's been done. – F.F Mar 14 '23 at 10:29
  • It seems there is no way to put an view on the top of the navigation bar in the contentpage. You may neet to custom the navigation bar and show the UI you want. – Liyun Zhang - MSFT Mar 16 '23 at 07:45

0 Answers0