If by the action / navigation bar you mean the navigation bar at the top, you can use this method:
private void ShowToolbar() { if (Device.OS == TargetPlatform.iOS) { // move layout under the status bar this.Padding = new Thickness(0, 20, 0, 0); toolbarItem = new ToolbarItem("Sync", "sync_icon.png", () => { //if (!response) //{ // response = true; SyncService(); //} //else // return; }, 0, 0); ToolbarItems.Add(toolbarItem); } if (Device.OS == TargetPlatform.Android) { toolbarItem = new ToolbarItem("Sync", "sync_icon.png", () => { //if (!response) //{ SyncService(); //} //else // return; }, 0, 0); ToolbarItems.Add(toolbarItem); } if (Device.OS == TargetPlatform.WinPhone) { toolbarItem = new ToolbarItem("Sync", "sync_icon.png", () => { //if (!response) //{ // response = true; SyncService(); //} //else // return; }, 0, 0); ToolbarItems.Add(toolbarItem); } }
source share