I'm looking for a way to create a SurfaceView which is larger than the native resolution of the device's screen.
E.g. my screen is 480x320 and I want to create a SurfaceView of 533x320.
I need the surface tio be this size because I want to play video with a res of 800x480 and have it scaled down to 533x320 pixels. So my plan is to have it play in a 533x320 SurfaceView and then have this view shifted in x by 26 pixels to the left which will centre the movie on the screen.
I've tried setting the SurfaceView layout_width="533px" in my xml file but it doesn't work. The surface still only takes up 480x320 pixels as if the width of 533 is clipped to 480 somehow.