Example #1
0
        void Build() => Content =
            RelativeLayout(
                ReferringSitesWithRefresh
                .Constrain().X(0).Y(titleRowHeight)
                .Width(p => p.Width).Height(p => p.Height - titleRowHeight),

                iOS ? TitleShadow
                .Constrain().X(0).Y(0)
                .Width(p => p.Width).Height(titleRowHeight) : null,

                iOS ? TitleText
                .Constrain().X(10).Y(0) : null,

                iOS ? CloseButton
                .Constrain().X(p => p.Width - p.WidthOf(closeButton) - 10).Y(0)
                .Width(p => p.WidthOf(closeButton)) : null,

                storeRatingRequest
                .Constrain().X(0).Y(p => p.Height - p.HeightOf(storeRatingRequest))
                .Width(p => p.Width)
                );