Xamarin.Plugins
Xamarin.Plugins copied to clipboard
IconToolbarItem text on Android
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.