jsmarcus / Xamarin.Plugins

Cross platform Xamarin and Windows controls and plugins
MIT License
195 stars 79 forks source link

IconToolbarItem text on Android #78

Open Luca7993 opened 7 years ago

Luca7993 commented 7 years ago

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.