RadekVyM / Navbar-Animation-1

[UI challange] .NET MAUI tab bar inspired by the "Navbar Animation #1" design by Marie Bernard.
MIT License
81 stars 16 forks source link

Change image menu #1

Open JhowDevBR opened 1 year ago

JhowDevBR commented 1 year ago

Sorry, I'm a beginner, could you please demonstrate how to change the menu image?

dgokhan commented 1 year ago

not test yet (i guess) App.xaml -> ...

SaddamBInSyed commented 1 year ago

@RadekVyM ,

Can you advise where I can get the Path string for my custom icon? I converted my icon to an SVG string (path) but it's not working.

help appreciated

SaddamBInSyed commented 1 year ago

Got it. Copied the corresponding Svg icon path from the below site, https://www.svgviewer.dev/s/19108/list-unordered

now I can add any icon to menus.

Thanks

RadekVyM commented 1 year ago

Hi @JhowDevBR, @dgokhan, @SaddamBInSyed, I changed the implementation of the navigation bar to use Icon element for displaying icons. Now you can use bitmap images (e.g. from Resources/Images/ folder) instead of svg paths. See source code.