Example #1
0
        public void SetStyle( )
        {
            // setup the text fonts and colors
            StatusLabel.SetFont(ControlStylingConfig.Font_Bold, 24);
            StatusLabel.TextColor = ControlStylingConfig.TextField_ActiveTextColor;

            ResultSymbol.SetFont(PrivateControlStylingConfig.Icon_Font_Secondary, 64);
            ResultSymbol.TextColor = ControlStylingConfig.TextField_PlaceholderTextColor;

            ResultCircle.BackgroundColor = ControlStylingConfig.BG_Layer_Color;

            ResultLabel.SetFont(ControlStylingConfig.Font_Light, 14);
            ResultLabel.TextColor = ControlStylingConfig.TextField_PlaceholderTextColor;

            DoneButton.SetFont(ControlStylingConfig.Font_Regular, 14);
            DoneButton.TextColor       = ControlStylingConfig.Button_TextColor;
            DoneButton.BackgroundColor = ControlStylingConfig.Button_BGColor;

            // setup the background layer colors
            //ResultBackground.BackgroundColor = ControlStylingConfig.BG_Layer_Color;
            //ResultBackground.BorderColor = ControlStylingConfig.BG_Layer_BorderColor;

            //StatusBackground.BackgroundColor = layerBgColor;
            //StatusBackground.BorderColor = layerBorderColor;

            View.BackgroundColor = ControlStylingConfig.BackgroundColor;

            DoneButton.CornerRadius = 4;
        }