void Start() { ZLog.Log("SampleCodeUse Start() method, Screen.height: " + Screen.height + " Screen.width: " + Screen.width); mDrawingAreaRect = new Rect((Screen.width / 2) - 150, 0, 150, 150); mDrawActivityRect = new Rect((Screen.width / 2) + 50, 0, 150, 150); byte[] bgImage; if (imageTexture != null) { bgImage = imageTexture.EncodeToPNG(); } else { bgImage = null; } //Let's ask Java for the Drawing Area mDrawingArea = DrawingArea.getInstance(this, false, bgImage); mDrawingArea.setSize(DrawingArea.WRAP_CONTENT, Screen.height / 2); mDrawingArea.setButtonVisibility(true, true, true, true, true, true, true, true, true); ZLog.Log("SampleCodeUse Start() method - end"); }