I am new to android game programming and I can't seem to find a way to get the background image to stay behind the game, I don't have an xml file for this activity so I added the background in the java code but it is covering the whole game.
Thanks in advance
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
_game = new Game(this);
// _game.setBackgroundResource(R.drawable.background_ingame);
setContentView(_game);
}