I have a .png file I would like to use in my app. This image is rather huge, approximately 328x32765 pixels, 751KB in size and is in my res folder. I get an error message of "java.lang.OutOfMemoryError: bitmap size exceeds VM budget" from trying to set this image into my layout.
I am not sure if it is relevant, but I also have about 730 buttons on that same page, that load and work ok, but I am thinking that maybe those buttons are using a lot of memory as well?
Either way, is there a simple fix to help solve this issue or make my .png image use less memory?