private void CreateView()
        {
            var scrollView = new UIScrollView();

            scrollView.BackgroundColor = UIColor.FromRGB(250, 250, 250);
            View.AddSubview(scrollView);

            scrollView.AutoPinEdgesToSuperviewEdges();

            var contentView = new UIView();

            contentView.BackgroundColor = UIColor.White;
            scrollView.AddSubview(contentView);

            contentView.AutoSetDimension(ALDimension.Width, UIScreen.MainScreen.Bounds.Width);
            contentView.AutoPinEdgeToSuperviewEdge(ALEdge.Top, 20);
            contentView.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 0);
            contentView.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 0);

            var likeLabel = new UILabel();

            likeLabel.Text = "Post likes";
            likeLabel.Font = Constants.Semibold14;
            contentView.AddSubview(likeLabel);

            likeLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 30);
            likeLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Top, 30);

            contentView.AddSubview(_notificationUpvotesSwitch);

            _notificationUpvotesSwitch.TintColor          = UIColor.Clear;
            _notificationUpvotesSwitch.OnTintColor        = Constants.R231G72B0;
            _notificationUpvotesSwitch.BackgroundColor    = UIColor.FromRGB(209, 213, 216);
            _notificationUpvotesSwitch.Layer.CornerRadius = 16;
            _notificationUpvotesSwitch.AutoAlignAxis(ALAxis.Horizontal, likeLabel);
            _notificationUpvotesSwitch.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 30);

            var likeSeparator = new UIView();

            likeSeparator.BackgroundColor = Constants.R245G245B245;
            contentView.AddSubview(likeSeparator);

            likeSeparator.AutoSetDimension(ALDimension.Height, 1);
            likeSeparator.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 30);
            likeSeparator.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 30);
            likeSeparator.AutoPinEdge(ALEdge.Top, ALEdge.Bottom, likeLabel, 30);

            var commentlikeLabel = new UILabel();

            commentlikeLabel.Text = AppSettings.LocalizationManager.GetText(LocalizationKeys.NotificationCommentsUpvotes);
            commentlikeLabel.Font = Constants.Semibold14;
            var commentlikeSeparator = new UIView();

            commentlikeSeparator.BackgroundColor = Constants.R245G245B245;
            BindBlock(commentlikeLabel, _notificationCommentsUpvotesSwitch, commentlikeSeparator, likeSeparator, contentView);

            var followLabel = new UILabel();

            followLabel.Text = AppSettings.LocalizationManager.GetText(LocalizationKeys.NotificationFollow);
            followLabel.Font = Constants.Semibold14;
            var followSeparator = new UIView();

            followSeparator.BackgroundColor = Constants.R245G245B245;
            BindBlock(followLabel, _notificationFollowingSwitch, followSeparator, commentlikeSeparator, contentView);

            var commentsLabel = new UILabel();

            commentsLabel.Text = AppSettings.LocalizationManager.GetText(LocalizationKeys.NotificationComment);
            commentsLabel.Font = Constants.Semibold14;
            var commentsSeparator = new UIView();

            commentsSeparator.BackgroundColor = Constants.R245G245B245;
            BindBlock(commentsLabel, _notificationCommentsSwitch, commentsSeparator, followSeparator, contentView);

            var postsLabel = new UILabel();

            postsLabel.Text = AppSettings.LocalizationManager.GetText(LocalizationKeys.NotificationPosting);
            postsLabel.Font = Constants.Semibold14;
            var postsSeparator = new UIView();

            postsSeparator.BackgroundColor = Constants.R245G245B245;
            BindBlock(postsLabel, _notificationPostingSwitch, postsSeparator, commentsSeparator, contentView);

            var transfersLabel = new UILabel();

            transfersLabel.Text = AppSettings.LocalizationManager.GetText(LocalizationKeys.NotificationTransfers);
            transfersLabel.Font = Constants.Semibold14;
            var transfersSeparator = new UIView();

            BindBlock(transfersLabel, _notificationTranfserSwitch, transfersSeparator, postsSeparator, contentView);
            transfersSeparator.AutoPinEdgeToSuperviewEdge(ALEdge.Bottom);

            var warningLabel = new UILabel();

            warningLabel.Text      = AppSettings.LocalizationManager.GetText(LocalizationKeys.NotificationWarning);
            warningLabel.Font      = Constants.Regular12;
            warningLabel.Lines     = 3;
            warningLabel.TextColor = Constants.R151G155B158;
            scrollView.AddSubview(warningLabel);

            warningLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 30);
            warningLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 30);
            warningLabel.AutoPinEdge(ALEdge.Top, ALEdge.Bottom, contentView, 16);
            warningLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Bottom, 0);
        }
        private void CreateView()
        {
            var scrollView = new UIScrollView();

            scrollView.BackgroundColor = UIColor.FromRGB(250, 250, 250);
            View.AddSubview(scrollView);

            scrollView.AutoPinEdgesToSuperviewEdges();

            var contentView = new UIView();

            contentView.BackgroundColor = UIColor.White;
            scrollView.AddSubview(contentView);

            contentView.AutoSetDimension(ALDimension.Width, UIScreen.MainScreen.Bounds.Width);
            contentView.AutoPinEdgeToSuperviewEdge(ALEdge.Top, 20);
            contentView.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 0);
            contentView.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 0);

            var likeLabel = new UILabel();

            likeLabel.Text = "Post likes";
            likeLabel.Font = Constants.Semibold14;
            contentView.AddSubview(likeLabel);

            likeLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 30);
            likeLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Top, 30);

            contentView.AddSubview(_notificationUpvotesSwitch);

            _notificationUpvotesSwitch.TintColor          = UIColor.Clear;
            _notificationUpvotesSwitch.OnTintColor        = Constants.R231G72B0;
            _notificationUpvotesSwitch.BackgroundColor    = UIColor.FromRGB(209, 213, 216);
            _notificationUpvotesSwitch.Layer.CornerRadius = 16;
            _notificationUpvotesSwitch.AutoAlignAxis(ALAxis.Horizontal, likeLabel);
            _notificationUpvotesSwitch.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 30);

            var likeSeparator = new UIView();

            likeSeparator.BackgroundColor = Constants.R245G245B245;
            contentView.AddSubview(likeSeparator);

            likeSeparator.AutoSetDimension(ALDimension.Height, 1);
            likeSeparator.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 30);
            likeSeparator.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 30);
            likeSeparator.AutoPinEdge(ALEdge.Top, ALEdge.Bottom, likeLabel, 30);

            var commentlikeLabel = new UILabel();

            commentlikeLabel.Text = "Comment likes";
            commentlikeLabel.Font = Constants.Semibold14;
            var commentlikeSeparator = new UIView();

            commentlikeSeparator.BackgroundColor = Constants.R245G245B245;
            BindBlock(commentlikeLabel, _notificationCommentsUpvotesSwitch, commentlikeSeparator, likeSeparator, contentView);

            var followLabel = new UILabel();

            followLabel.Text = "Follower request";
            followLabel.Font = Constants.Semibold14;
            var followSeparator = new UIView();

            followSeparator.BackgroundColor = Constants.R245G245B245;
            BindBlock(followLabel, _notificationFollowingSwitch, followSeparator, commentlikeSeparator, contentView);

            var commentsLabel = new UILabel();

            commentsLabel.Text = "All comments";
            commentsLabel.Font = Constants.Semibold14;
            var commentsSeparator = new UIView();

            commentsSeparator.BackgroundColor = Constants.R245G245B245;
            BindBlock(commentsLabel, _notificationCommentsSwitch, commentsSeparator, followSeparator, contentView);

            var postsLabel = new UILabel();

            postsLabel.Text = "New posts";
            postsLabel.Font = Constants.Semibold14;
            var postsSeparator = new UIView();

            BindBlock(postsLabel, _notificationPostingSwitch, postsSeparator, commentsSeparator, contentView);
            postsSeparator.AutoPinEdgeToSuperviewEdge(ALEdge.Bottom);

            var warningLabel = new UILabel();

            warningLabel.Text      = "By including or disabling notifications here, you control both normal notifications and push notifications.";
            warningLabel.Font      = Constants.Regular12;
            warningLabel.Lines     = 3;
            warningLabel.TextColor = Constants.R151G155B158;
            scrollView.AddSubview(warningLabel);

            warningLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Left, 30);
            warningLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 30);
            warningLabel.AutoPinEdge(ALEdge.Top, ALEdge.Bottom, contentView, 16);
            warningLabel.AutoPinEdgeToSuperviewEdge(ALEdge.Bottom, 0);
        }