summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2016-04-12 15:53:36 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-04-12 15:53:36 (GMT)
commitba2a434ec13370cc4814b54f6ce51d4d16594f97 (patch)
treece0d082e4e114fa689e7c5eee3da9d892b11f49c /Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs
parent0a20bdaa3c373ec303c9a94ae45ecaa144996ba5 (diff)
downloadxamarin-forms-ba2a434ec13370cc4814b54f6ce51d4d16594f97.zip
xamarin-forms-ba2a434ec13370cc4814b54f6ce51d4d16594f97.tar.gz
xamarin-forms-ba2a434ec13370cc4814b54f6ce51d4d16594f97.tar.bz2
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
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/TableViewModelRenderer.cs
index c7ff263..ef997d0 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);
}