Hi,
I have recently noticed that Android toolbar is not showing correctly on my application. I have latest pre-patch 1.2.2 of Xamarin Forms in solution but those problems occured before i have updated it.
Other than toolbar items are working correctly. I mean right icon and back button is not showing on root navigation page and title is also correct.
In my android sulution I am using Navigation page :
RootPage = new NavigationPage(MLApplication.Container.Resolve()); SetPage(RootPage);
In this page i have tried to add some toolbaritems in constructor and also in OnAppearing event for example:
ToolbarItems.Add(new ToolbarItem
{
Name = "Reactivate Device",
Order = ToolbarItemOrder.Secondary,
Priority = 0,
Icon = new FileImageSource {File = Device.OnPlatform("", ImageNames.MainMenu_Dotts, "Images/" + ImageNames.MainMenu_Dotts)},
Command = new Xamarin.Forms.Command(async () =>
{
ViewModel.ReactivateDevice();
await Navigation.PushAsync(new SomePage());
})
});
but niether implamentation shows them in App. Maybe I am missing something important for for showing it on screen or some platform specific setting.