protected override void onCreate(Bundle savedInstanceState)
        {
            Console.WriteLine("enter AndroidCardboardExperiment onCreate");
            // https://github.com/googlesamples/cardboard-java/blob/master/CardboardSample/src/main/res/layout/common_ui.xml

            base.onCreate(savedInstanceState);

            this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

            //{ com.google.vrtoolkit.cardboard.FullscreenMode ref0; }

            var ll = new RelativeLayout(this);

            ll.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.FILL_PARENT));


            this.setContentView(ll);

            var cardboardView = new com.google.vrtoolkit.cardboard.CardboardView(this).AttachTo(ll);

            cardboardView.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.FILL_PARENT));
            cardboardView.setRenderer(this);
            setCardboardView(cardboardView);


            modelCube           = new float[16];
            camera              = new float[16];
            view                = new float[16];
            modelViewProjection = new float[16];
            modelView           = new float[16];
            modelFloor          = new float[16];
            headView            = new float[16];
            vibrator            = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE);


            overlayView = new CardboardOverlayView(this, null);
            overlayView.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.FILL_PARENT));
            overlayView.show3DToast("Pull the magnet when you find an object.");

            Console.WriteLine("exit AndroidCardboardExperiment onCreate");
        }
        protected override void onCreate(Bundle savedInstanceState)
        {
            Console.WriteLine("enter AndroidCardboardExperiment onCreate");
            // https://github.com/googlesamples/cardboard-java/blob/master/CardboardSample/src/main/res/layout/common_ui.xml

            base.onCreate(savedInstanceState);

            this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

            //{ com.google.vrtoolkit.cardboard.FullscreenMode ref0; }

            var ll = new RelativeLayout(this);
            ll.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.FILL_PARENT));


            this.setContentView(ll);

            var cardboardView = new com.google.vrtoolkit.cardboard.CardboardView(this).AttachTo(ll);
            cardboardView.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.FILL_PARENT));
            cardboardView.setRenderer(this);
            setCardboardView(cardboardView);


            modelCube = new float[16];
            camera = new float[16];
            view = new float[16];
            modelViewProjection = new float[16];
            modelView = new float[16];
            modelFloor = new float[16];
            headView = new float[16];
            vibrator = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE);


            overlayView = new CardboardOverlayView(this, null);
            overlayView.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.FILL_PARENT));
            overlayView.show3DToast("Pull the magnet when you find an object.");

            Console.WriteLine("exit AndroidCardboardExperiment onCreate");
        }