Requires NuGet 2.8.1 or higher.
Install-Package Xam.Plugins.XamJam.Screen -Version 1.0.7
dotnet add package Xam.Plugins.XamJam.Screen --version 1.0.7
<PackageReference Include="Xam.Plugins.XamJam.Screen" Version="1.0.7" />
paket add Xam.Plugins.XamJam.Screen --version 1.0.7
#r "nuget: Xam.Plugins.XamJam.Screen, 1.0.7"
// Install Xam.Plugins.XamJam.Screen as a Cake Addin #addin nuget:?package=Xam.Plugins.XamJam.Screen&version=1.0.7 // Install Xam.Plugins.XamJam.Screen as a Cake Tool #tool nuget:?package=Xam.Plugins.XamJam.Screen&version=1.0.7
Xamarin (Android/iOS/Windows Store and Phone and UWP) plugin to determine screen size
|Universal Windows Platform||uap uap10 uap10.0|
|Windows Phone||wp8 wp81 wpa81|
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
- Tested on WP8.1 simulator and Android S5. Still beta until I test on UWP and iOS.
- Minor code and documentation cleanup.
- Testing on iOS didn't go as predicted. Trying again...
- Fixed the iOS nuspec, the template had me going to classic and using the old "Unified" directory structure. Will test this new nuspec.
- Added 'ScreenSize.IsMaximum' since UWP apps don't provide a way to determine max screen size (since they can run with multiple monitors, change their resolution, etc.)
- Don't ask about 1.0.3-beta, it's not the beta you're looking for.
- Fixed Android, width and height were switched. Thanks 'alaskanrogue' for the report.
- No changes, just decided to finally get this thing out of beta. I might do more with it in the future, but for now it has proven generally useful as is.
- Android Fix: Use current screen size (accounting for rotation) instead of screen size at startup. Closes issue #4: https://github.com/jasonCodesAway/XamJam/issues/4.