From ba2a434ec13370cc4814b54f6ce51d4d16594f97 Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Tue, 12 Apr 2016 08:53:36 -0700 Subject: Add compatibility shims to fix warnings; annotate warnings which require (#75) more thought to fix; Fix a few more warnings VS didn't see fit to raise as errors Adding comments to `pragma warning disable` statements pragma comments Fix typo Set TabletMasterDetailRenderer back to previous version Fix incorrect config access in legacy activity --- Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs') diff --git a/Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs index c7ff2636..ef997d07 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs @@ -110,9 +110,7 @@ namespace Xamarin.Forms.Platform.Android AView bline; if (makeBline) { -#pragma warning disable 618 - bline = new AView(Context) { LayoutParameters = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.FillParent, 1) }; -#pragma warning restore 618 + bline = new AView(Context) { LayoutParameters = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MatchParent, 1) }; layout.AddView(bline); } -- cgit v1.2.3