diff --git a/HoneycombGallery/CameraFragment.cs b/HoneycombGallery/CameraFragment.cs index ff8380427..7c6d91c20 100644 --- a/HoneycombGallery/CameraFragment.cs +++ b/HoneycombGallery/CameraFragment.cs @@ -16,14 +16,13 @@ using System; using System.Collections.Generic; -using Android.Graphics; using Java.IO; using Android.App; using Android.Content; using Android.OS; using Android.Util; using Android.Views; -using Camera = Android.Hardware.Camera; +using Android.Hardware; namespace com.example.monodroid.hcgallery { @@ -54,7 +53,7 @@ public override void OnCreate (Bundle savedInstanceState) Camera.CameraInfo cameraInfo = new Camera.CameraInfo (); for (int i = 0; i < mNumberOfCameras; i++) { Camera.GetCameraInfo (i, cameraInfo); - if (cameraInfo.Facing == Camera.CameraInfo.CameraFacingBack) { + if (cameraInfo.Facing == CameraFacing.Back) { mDefaultCameraId = i; } } diff --git a/PlatformFeatures/ICS_Samples/SystemUIVisibilityDemo/SystemUIVisibilityDemo/Activity1.cs b/PlatformFeatures/ICS_Samples/SystemUIVisibilityDemo/SystemUIVisibilityDemo/Activity1.cs index 584903191..78e370d02 100644 --- a/PlatformFeatures/ICS_Samples/SystemUIVisibilityDemo/SystemUIVisibilityDemo/Activity1.cs +++ b/PlatformFeatures/ICS_Samples/SystemUIVisibilityDemo/SystemUIVisibilityDemo/Activity1.cs @@ -26,15 +26,15 @@ protected override void OnCreate (Bundle bundle) var visibleButton = FindViewById