private Android.Widget.Button GetButton(ToolbarItem item) { var button = new Android.Widget.Button(_rightMenuLayout.Context) { Text = item.Text }; button.Click += (object sender, System.EventArgs e) => { item.Activate(); }; //button.SetTextColor(Element.BarTextColor.ToAndroid()); button.SetTextColor(Android.Graphics.Color.Red); button.SetBackgroundColor(Android.Graphics.Color.Transparent); button.SetMinWidth(10); button.SetMinimumWidth(10); button.SetPadding(5, 0, 5, 0); button.LayoutParameters = new LayoutParams(LayoutParams.WrapContent, LayoutParams.WrapContent); return(button); }