first you need to set the view port do this in your create method
`float scrw = 960; float scrh = 640;
camera = new OrthographicCamera(); camera.viewportHeight = scrh; camera.viewportWidth = scrw; camera.position.set(camera.viewportWidth * .5f, camera.viewportHeight * .5f, 0f); camera.update();`
create texture
texture = new Texture("data/background.png");
put this texture in a sprite like this
sprite=new sprite(texture);
and then set the size like this
sprite.setsize(960,640);
and draw it in the rendering methods between batch.begin and batch.end
sprite.draw(batch);
source share