I'm beginner to Android / Java development. I just started learning programming and the easiest way for me is to modify open source projects to understand the principles involved.Anyways, I want to do a very simple modification to Bubble Shoot game, 5-10 different background images will be cycled randomly:
- when every new level is started (but remain the same when the level is just restarted)
- or much easier: background is changing every single time when the level is restarting or starting
- The xml file must be in res/values correct ? Can I use any file name for it ? For example: random.xml
- I got this error with the xml file: error: A 'type' attribute is required for item Do I need to setup the type and format for each item ? If yes, what type and which format please ?
- Can we avoid exceeding the video memory limit ? I mean to load only the current background, and after each use to be flush out before a new random image will be displayed.