Example #1
0
        private void SetStylings()
        {
            _defaultColor  = new CrossPlatformColor(237, 107, 149);
            _selectedColor = new CrossPlatformColor(237, 107, 149, 200);

            MainStyling = new UIStylingsModel {
                BackgroundColor = _defaultColor
            };

            _incomeButtonColor   = _defaultColor;
            _expensesButtonColor = _selectedColor;
            _transButtonColor    = _defaultColor;
        }
Example #2
0
 public static UIColor ToNative(this CrossPlatformColor color)
 {
     return(UIColor.FromRGBA(color.Red, color.Green, color.Blue, color.Alpha));
 }