Skip to content Skip to sidebar Skip to footer

Xamarin Forms Position Of Toolbar Items For Android

I want the ToolbarItem Menu1 on the left side, but at this moment both are on right side. How can I fix that? Copy


Solution 2:

This isn't currently supported in Forms. To get around it, you could write a Custom Renderer that overrides the base Android toolbar renderer.


Solution 3:

As others have mentioned, this can only be done using a custom renderer for your Page. Then you need to move all the menu item creation logic there since Xamarin's built in ToolbarItem will cause all sorts of issues with your custom logic. You can refer to this answer for more details on how to move your items to the left - it's kind of involved, so perhaps it's a better idea to just live with having them on the right.


Post a Comment for "Xamarin Forms Position Of Toolbar Items For Android"