Update screen size info after orientation change on Android/iOS (#5975)
authorE.Z. Hart <hartez@users.noreply.github.com>
Mon, 6 May 2019 22:27:43 +0000 (16:27 -0600)
committerSamantha Houts <samhouts@users.noreply.github.com>
Mon, 6 May 2019 22:27:43 +0000 (15:27 -0700)
commita6cb5555dd9431db0543ed8e85ed0d42715b8ec4
tree7b118002fa31d4091e8b0a4cbe59a9d0f98c7dcd
parent8784a7ea8255a9fc8793e55262560f7c55eb06c6
Update screen size info after orientation change on Android/iOS (#5975)

* Update Android screen size info in Device when changing orientation;
Fixes #4992

* Add test instructions

* Update iOS screen size on orientation change

* Fix build error in UI Test projects

* Fix errors with #if directives in iOS/macOS projects

* Update Xamarin.Forms.Platform.MacOS/MacDeviceInfo.cs

Co-Authored-By: hartez <hartez@users.noreply.github.com>
* Update Xamarin.Forms.Platform.Android/Forms.cs

Co-Authored-By: hartez <hartez@users.noreply.github.com>
* Update Xamarin.Forms.Platform.iOS/IOSDeviceInfo.cs

Co-Authored-By: hartez <hartez@users.noreply.github.com>
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue4992.xaml [new file with mode: 0644]
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue4992.xaml.cs [new file with mode: 0644]
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
Xamarin.Forms.Platform.Android/Forms.cs
Xamarin.Forms.Platform.MacOS/MacDeviceInfo.cs [new file with mode: 0644]
Xamarin.Forms.Platform.MacOS/Xamarin.Forms.Platform.macOS.csproj
Xamarin.Forms.Platform.iOS/Forms.cs
Xamarin.Forms.Platform.iOS/IOSDeviceInfo.cs [new file with mode: 0644]
Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj