diff options
author | Paul DiPietro <paul.dipietro@me.com> | 2016-03-28 00:48:21 -0400 |
---|---|---|
committer | Paul DiPietro <paul.dipietro@me.com> | 2016-03-28 00:57:30 -0400 |
commit | 2f3ed4b027eb47439ba83d32ccbfe8bcee212b98 (patch) | |
tree | cdbbe7b717587efd343d0d416c802154cc0e6f6e /Xamarin.Forms.Controls.Issues | |
parent | 1ee2a1d31138e6da2b048b37a01893146348b6f9 (diff) | |
download | xamarin-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')
2 files changed, 36 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"); + }) + } + } + }; + } + } +} diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems index 81a6c2e2..06a89b60 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems @@ -19,6 +19,7 @@ </Compile> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla22401.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla24769.cs" /> + <Compile Include="$(MSBuildThisFileDirectory)Bugzilla25234.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla25662.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla26501.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla26868.cs" /> |