Ben
Ben

Reputation: 4120

Xamarin Forms: ToolBarItem on left for both iOS and Android

I'm trying to find a way to put a close ToolBarItem on the left of my ToolBar. To be more explicit, here are some screenshots:

For Android: enter image description here

For iOS: enter image description here

The problem is not about to display icon istead of text, I'm using Iconize for that. The problem is about to put ToolBarItem to the left for both iOS and Android.

I've found this renderer for iOS (not tried yet): https://gist.github.com/alexlau811/f1fff9e726333e6b4a2f

Upvotes: 3

Views: 6261

Answers (1)

Renjith
Renjith

Reputation: 682

You need to write Custom renderer to implement left side tool bar items. Detailed implementation for this is explained here https://timeyoutake.it/2016/01/02/creating-a-left-toolbaritem-in-xamarin-forms/

Upvotes: 1

Related Questions