Example #1
0
 private void prepareTitleLabel()
 {
     TitleLabel.Font            = RobotoFont.RegularWithSize(14);
     TitleLabel.TextAlignment   = UITextAlignment.Center;
     TitleLabel.BackgroundColor = Color.White;
     TitleLabel.SetDepthPreset(Button.DepthPreset());
     TitleLabel.SetCornerRadiusPreset(CornerRadiusPreset.Radius1);
     AddSubview(TitleLabel);
 }