Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Constant corresponding to behind in the screenOrientation attribute.
Constant corresponding to fullSensor in the screenOrientation attribute.
Constant corresponding to landscape in the screenOrientation attribute.
Constant corresponding to nosensor in the screenOrientation attribute.
Constant corresponding to portrait in the screenOrientation attribute.
Constant corresponding to reverseLandscape in the screenOrientation attribute.
Constant corresponding to reversePortrait in the screenOrientation attribute.
Constant corresponding to sensor in the screenOrientation attribute.
Constant corresponding to sensorLandscape in the screenOrientation attribute.
Constant corresponding to sensorPortrait in the screenOrientation attribute.
Constant corresponding to unspecified in the screenOrientation attribute.
Which constants are missing? All of the constants you listed are present:
However, if you want to see/use members added in API 9, you need to set your TargetFrameworkVersion to a version that is API 9 or later, e.g. Android 2.3.3.
Created attachment 2900 [details]
Screen shot of Intellisense
Maybe the intellisense XML docs are out of date? This is what I see on both my PC and Mac.
Or maybe the docs are gleaned from the official Android site, not the code?
Looking that the associated integers, it can't be a bitmask. i.e. Sensor|Portrait.
As suggested/asked in Comment #1, what is your TargetFrameworkVersion, e.g. within Visual Studio, Project Properties > Application > Minimum Android to target?
The default TargetFrameworkVersion is API 8 (Android 2.2), so if you haven't changed this value you will not see values added in API level 9 or later.
I am targeting API 8. I didn't realize Intellisense was *that* intelligent!