summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs
diff options
context:
space:
mode:
authorPaul DiPietro <paul.dipietro@me.com>2016-03-28 00:48:21 -0400
committerPaul DiPietro <paul.dipietro@me.com>2016-03-28 00:57:30 -0400
commit2f3ed4b027eb47439ba83d32ccbfe8bcee212b98 (patch)
treecdbbe7b717587efd343d0d416c802154cc0e6f6e /Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs
parent1ee2a1d31138e6da2b048b37a01893146348b6f9 (diff)
downloadxamarin-forms-2f3ed4b027eb47439ba83d32ccbfe8bcee212b98.tar.gz
xamarin-forms-2f3ed4b027eb47439ba83d32ccbfe8bcee212b98.tar.bz2
xamarin-forms-2f3ed4b027eb47439ba83d32ccbfe8bcee212b98.zip
[WP8] CustomMessageBox dismissal no longer causes black SystemTray
The CustomMessageBox was having an interaction with WP8 where its dismissal was changing the SystemTray's background color to black. It appears that the SystemTray's background color was never set, despite its appearing white prior to the use of a CustomMessageBox.
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs
new file mode 100644
index 00000000..b29cbd33
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs
@@ -0,0 +1,35 @@
+using System;
+
+using Xamarin.Forms.CustomAttributes;
+
+#if UITEST
+using Xamarin.UITest;
+using NUnit.Framework;
+#endif
+
+namespace Xamarin.Forms.Controls.Issues
+{
+ [Preserve(AllMembers = true)]
+ [Issue(IssueTracker.Bugzilla, 25234, "Use of CustomMessageBox resets SystemTray BackgroundColor to black", PlatformAffected.WinPhone)]
+ public class Bugzilla25234 : TestContentPage
+ {
+ protected override void Init()
+ {
+ Content = new StackLayout
+ {
+ Children =
+ {
+ new Button
+ {
+ Text = "Click for Alert",
+ Command = new Command(() =>
+ {
+ DisplayAlert("Display Alert",
+ "If the theme is set to light on WP8, the status bar should return to the white color when closed", "OK");
+ })
+ }
+ }
+ };
+ }
+ }
+}