You can't draw images in a SurfaceView from a layout file. You need to get a reference of the SurfaceView from your activity like so:
SurfaceView sv = (SurfaceView) findViewById(R.id.hero3);
Additionally, you can't modify the SurfaceView specific properties of the SurfaceView from layouts. If you check out the documentation, the only XML attributes that the SurfaceView has are the ones provided by View. You can modify the SurfaceView specific properties from code using the reference above. For example:
sv.setZOrderOnTop(true);
Drawing onto a SurfaceView is a little more complex, and you should weigh the benefits of using the SurfaceView instead of a regular View. if you decide that SurfaceView is what you need, take a look at this tutorial on using SurfaceViews