[Activity(Theme = "@style/MyStyleBottom")] public class SelectPicPopupWindow : Activity, IOnClickListener { private const int Display_RequestCode = 0xa1; private const int Camera_RequestCode = 0xa2; private const int PhotoGallery_RequestCode = 0xa3; private Java.IO.File finalFile; private Java.IO.File originalFile; protected override void OnCreate(Bundle savedInstanceState) { //竖屏显示 RequestedOrientation = Android.Content.PM.ScreenOrientation.Portrait; base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.SelectPicPopupWindow); originalFile = new Java.IO.File(Android.OS.Environment.GetExternalStoragePublicDirectory( Android.OS.Environment.DirectoryPictures ), "zcb_pic_" + SystemClock.CurrentThreadTimeMillis() + ".png"); finalFile = new Java.IO.File(Android.OS.Environment.GetExternalStoragePublicDirectory( Android.OS.Environment.DirectoryPictures ), "zcb_pic_" + SystemClock.CurrentThreadTimeMillis() + ".png"); var btn_take_photo = this.FindViewById