Esempio n. 1
0
        protected override void LayoutView()
        {
            View.AddConstraints(new FluentLayout[]
            {
                _txtSubTotal.AtTopOfSafeArea(View),
                _txtSubTotal.WithSameCenterX(View),

                _sliderGenerosity.Below(_txtSubTotal, 10f),
                _sliderGenerosity.AtLeftOfSafeArea(View, 10f),
                _sliderGenerosity.AtRightOfSafeArea(View, 10f),
                //_sliderGenerosity.WithSameCenterX(View),

                _lblTip.Below(_sliderGenerosity, 10f),
                _lblTip.WithSameWidth(View)
            });
        }