Xamarin.Forms на Android.У меня есть scrollView со стеком внутри.Прокрутка работает, но scrollBar не виден.Я пытался написать пользовательские рендеры, но это не помогло.Мой код: https://github.com/FeduniakVitalii/ScrollView
var contentAndWebViewLayout = new StackLayout() { Orientation = StackOrientation.Vertical, VerticalOptions = LayoutOptions.FillAndExpand};
contentAndWebViewLayout.Children.Add(contentLayout);
contentAndWebViewLayout.Children.Add(webView);
ScrollView scrollView = new ScrollView()
{
Content = contentAndWebViewLayout,
IsEnabled = true,
IsVerticalScrollbarEnabled = true,
IsClippedToBounds = true,
VerticalScrollBarVisibility = ScrollBarVisibility.Always,
VerticalOptions = LayoutOptions.FillAndExpand,
};
var converter = new HtmlLabelConverter();
var layout = new RelativeLayout()
{
BackgroundColor = Color.White,
VerticalOptions = LayoutOptions.FillAndExpand
};
layout.Children.Add(scrollView,
xConstraint: Constraint.Constant(0),
yConstraint: Constraint.Constant(0),
widthConstraint: Constraint.RelativeToParent((parent) => { return parent.Width; }),
heightConstraint: Constraint.RelativeToParent((parent) => { return parent.Height; }));
this.Content = layout;