From b5ade7639f2657253a3f9ed8b336d6073f6cb4b1 Mon Sep 17 00:00:00 2001 From: Ravinder Jangra Date: Wed, 23 Oct 2019 17:37:00 +0530 Subject: [PATCH] Fix android scrollbar visibility issue (#8090) fixes #7629 #8015 --- Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs | 2 +- Xamarin.Forms.Platform.Android/Resources/values/styles.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs index 976fe8c..a8ec6e2 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ScrollViewRenderer.cs @@ -28,7 +28,7 @@ namespace Xamarin.Forms.Platform.Android LayoutDirection _prevLayoutDirection = LayoutDirection.Ltr; bool _checkedForRtlScroll = false; - public ScrollViewRenderer(Context context) : base(context) + public ScrollViewRenderer(Context context) : base(new ContextThemeWrapper(context, Resource.Style.NestedScrollBarStyle)) { } diff --git a/Xamarin.Forms.Platform.Android/Resources/values/styles.xml b/Xamarin.Forms.Platform.Android/Resources/values/styles.xml index d18d4b4..353f9b7 100644 --- a/Xamarin.Forms.Platform.Android/Resources/values/styles.xml +++ b/Xamarin.Forms.Platform.Android/Resources/values/styles.xml @@ -4,4 +4,7 @@ + -- 2.7.4