Xamarin.Plugins icon indicating copy to clipboard operation
Xamarin.Plugins copied to clipboard

IconToolbarItem text on Android

Open Luca7993 opened this issue 8 years ago • 0 comments

Hi, when i set both icon and text on a IconToolbarItem on Android, when a page is shown, I can see the text for a moment and after it will be substitute by the icon. how can avoid this?

I would like to leave the text property, so when a user long tap on the icon, an help text will be shown.

I think that one solution could be to add another property "HelpText" on IconToolbarItem, and in ToolbarItemExtensions.UpdateToolbarItems, when creating the menuItem: var menuItem = toolbar.Menu.Add(toolbarItem.Text);, use the HelpText if is not null instead Text property.

Luca7993 avatar Jul 04 '17 16:07 Luca7993