I'm working on a 2D game for android, but I keep running into problems when attempting to use drawables with a surfaceview. When assigning a image to a drawable I am only allowed up to around 2 mb of total space from the drawables. Then I start getting null pointer exceptions when trying to draw the image or set the bounds. So in the end I have two questions:
1. Is there a limit to the amount of space to be used for drawables?
2. Is there a more effective way to draw images with a surfaceview?