Пример #1
0
        private void layoutGradient()
        {
            //Console.WriteLine("Hitted");
            var gradientLayer = CustomControls.ButtonBackground(this);

            Layer.InsertSublayer(gradientLayer, 0);
        }
Пример #2
0
        private void layoutGradient()
        {
            var gradientLayer = CustomControls.ButtonBackground(this);

            BackgroundColor = UIColor.Clear;
            Layer.InsertSublayer(gradientLayer, 1);
        }
Пример #3
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            var gradient = CustomControls.ButtonBackground(profileLabelView);

            profileLabelView.Layer.InsertSublayer(gradient, 0);
            profileLabel.Text = "Profile";
        }
Пример #4
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            var gradient = CustomControls.ButtonBackground(gradientView);

            gradientView.Layer.InsertSublayer(gradient, 0);
            aboutLabel.Text = "About Us";
        }
Пример #5
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            messageTextView.Layer.BorderColor = UIColor.Gray.CGColor;
            var gradient = CustomControls.ButtonBackground(reccommendationView);

            reccommendationView.Layer.InsertSublayer(gradient, 0);
            reccomendationLabel.Text = "Reccomandations";

            messageTextView.Layer.BorderColor = UIColor.Black.CGColor;
            messageTextView.Layer.BorderWidth = 0.5F;
        }
Пример #6
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            var gradient = CustomControls.ButtonBackground(homeHeading);

            homeHeading.Layer.InsertSublayer(gradient, 0);

            homeHeadingLabel.Text = "Now ->";

            var tableItems = new List <AvatarDetails>()
            {
                new AvatarDetails {
                    AvatarCompany = "*****@*****.**", AvatarName = "Kumar D"
                },
                new AvatarDetails {
                    AvatarCompany = "*****@*****.**", AvatarName = "Vivek S"
                }
            };

            homeTableView.Source = new TableSource(tableItems);
        }