this.Title = "Inspection";
this.NavigationController.NavigationBar.TitleTextAttributes = new UIStringAttributes ()
{
ForegroundColor=UIColor.White
};
this.NavigationController.NavigationBar.TintColor = UIColor.White;
this.NavigationController.NavigationBar.BarTintColor = UIColor.FromRGB (85,116,163);
this.NavigationController.NavigationBar.Translucent = false;
this.NavigationController.NavigationBarHidden = false;
this.NavigationController.NavigationBar.BarStyle = UIBarStyle.BlackTranslucent;
var customButton = new UIBarButtonItem(
UIImage.FromFile("ic_camera_alt_white_48dp.png"),
UIBarButtonItemStyle.Plain,
(s, e) => {
System.Diagnostics.Debug.WriteLine("button tapped");
}
);
var customButton2 = new UIBarButtonItem(
UIImage.FromFile("mic_attach_file_white_48dp.png"),
UIBarButtonItemStyle.Plain,
(s, e) => {
System.Diagnostics.Debug.WriteLine("button tapped");
}
);
var customButton3 = new UIBarButtonItem(
UIImage.FromFile("ic_save_white_48dp.png"),
UIBarButtonItemStyle.Plain,
(s, e) =>
{
System.Diagnostics.Debug.WriteLine("button tapped");
}
);
NavigationItem.RightBarButtonItems= new UIBarButtonItem[] { customButton, customButton2 ,customButton3 };
this.NavigationController.NavigationBar.TitleTextAttributes = new UIStringAttributes ()
{
ForegroundColor=UIColor.White
};
this.NavigationController.NavigationBar.TintColor = UIColor.White;
this.NavigationController.NavigationBar.BarTintColor = UIColor.FromRGB (85,116,163);
this.NavigationController.NavigationBar.Translucent = false;
this.NavigationController.NavigationBarHidden = false;
this.NavigationController.NavigationBar.BarStyle = UIBarStyle.BlackTranslucent;
var customButton = new UIBarButtonItem(
UIImage.FromFile("ic_camera_alt_white_48dp.png"),
UIBarButtonItemStyle.Plain,
(s, e) => {
System.Diagnostics.Debug.WriteLine("button tapped");
}
);
var customButton2 = new UIBarButtonItem(
UIImage.FromFile("mic_attach_file_white_48dp.png"),
UIBarButtonItemStyle.Plain,
(s, e) => {
System.Diagnostics.Debug.WriteLine("button tapped");
}
);
var customButton3 = new UIBarButtonItem(
UIImage.FromFile("ic_save_white_48dp.png"),
UIBarButtonItemStyle.Plain,
(s, e) =>
{
System.Diagnostics.Debug.WriteLine("button tapped");
}
);
NavigationItem.RightBarButtonItems= new UIBarButtonItem[] { customButton, customButton2 ,customButton3 };