How to make image fit screen?
<p>So right now im just starting game programming for android. Im making a mainmenu class that will load up the backgroung image and then draw it onto the screen at (0, 0) heres my code.</p>

<pre><code>public void update(float deltaTime) {
    Graphics g = game.getGraphics();
    Assets.back = g.newPixmap("back.png", PixmapFormat.RGB565);
    Graphics g1 = game.getGraphics();
    g1.drawPixmap(Assets.back, 0, 0);

}
</code></pre>

<p>I made the back.png image to 480 x 800 and my HTC One V is of the smae pixel dimension but when i load up the app it cuts out like 3/4 of the image. So is there somenthing that im doing wrong and is there a way to make the image strech itself to the dimensions of the screen without having to have x-amount of backgroung images for different screens?
I appreciate the help.</p>
