Example #1
0
        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 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);
 }
Example #3
0
 void AddDetailImage(LogoDetail detailImage, string resourceName)
 {
     DetailImages[detailImage] = AddImage(resourceName);
 }
 void AddDetailImage(LogoDetail detailImage, string resourceName)
 {
     DetailImages[detailImage] = AddImage(resourceName);
 }