private void styleView() { labelTitle.Font = Styles.SetHelveticaBoldFont(19); DescriptionLabel.Font = Styles.SetHelveticaFont(19); setButtonRed(false); SymptonLabel1.Font = Styles.SetHelveticaBoldFont(17); SymptonLabel2.Font = Styles.SetHelveticaBoldFont(17); SymptonView1.setBorderShadow(); SymptonView2.setBorderShadow(); selectSympton(SymptonView1, false); selectSympton(SymptonView2, false); }
public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. indicator.Set(2, 1); buttonConfirm.Layer.CornerRadius = 4; buttonConfirm.TouchUpInside += (o, e) => NoSymptomsClicked?.Invoke(this, new bool[] { fiebre, sintomas }); UITapGestureRecognizer gestureRecognizerSympton1 = new UITapGestureRecognizer(() => selectSympton(SymptonView1)); SymptonView1.AddGestureRecognizer(gestureRecognizerSympton1); UITapGestureRecognizer gestureRecognizerSympton2 = new UITapGestureRecognizer(() => selectSympton(SymptonView2)); SymptonView2.AddGestureRecognizer(gestureRecognizerSympton2); applyTraslations(); styleView(); }