summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29128.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29128.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29128.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29128.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29128.cs
new file mode 100644
index 00000000..c414e49e
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29128.cs
@@ -0,0 +1,36 @@
+´╗┐using System;
+
+using Xamarin.Forms.CustomAttributes;
+
+#if UITEST
+using Xamarin.UITest;
+using NUnit.Framework;
+#endif
+
+namespace Xamarin.Forms.Controls
+{
+ [Preserve (AllMembers = true)]
+ [Issue (IssueTracker.Bugzilla, 29128, "Slider background lays out wrong Android")]
+ public class Bugzilla29128 : TestContentPage
+ {
+ protected override void Init ()
+ {
+ Content = new Slider {
+ AutomationId = "SliderId",
+ BackgroundColor = Color.Blue,
+ Maximum = 255,
+ Minimum = 0,
+ };
+ }
+
+#if UITEST
+ [Test]
+ public void Bugzilla29128Test ()
+ {
+ RunningApp.WaitForElement (q => q.Marked ("SliderId"));
+ RunningApp.Screenshot("Slider and button should be centered");
+ Assert.Inconclusive ("For visual review only");
+ }
+#endif
+ }
+}