void AddDetailLabel(LogoDetail detail, Color color, int fontSize = 18, FontAttributes fontAttributes = FontAttributes.Bold) { var label = new Label { Text = "", TextColor = color, HorizontalOptions = LayoutOptions.CenterAndExpand, FontFamily = "HelveticaNeue-Thin", FontSize = fontSize, FontAttributes = fontAttributes }; DetailLabels[detail] = label; stackLayoutInfo.Children.Add(label); }
void AddDetailImage(LogoDetail detailImage, string resourceName) { DetailImages[detailImage] = AddImage(resourceName); }