I am making a small game for android. It is working smoothly when its working on a white background but when i want to put a background image, its becoming slower and slower. Fi
The main reason you're noticing the lag is because the image needs to because you need to copy your background image to all the drawable folders (drawable-hdpi,drawable-xhdpi...etc.) . I use the Android Studio plugin named Android Drawable Importer for automating. Works like a charm.