Let's say that I have a spritesheet with 4 sprites (standing, breathing player).
When I load it with
player_bitmap = BitmapFactory.decodeResource(resources, R.drawable.player_standing);
it sets it's width and height to for example 100/50 and I have to divide it by 4 and I get four sprites 25x50.
Problem is here that when I switch the app to tablet (I was on phone) sprites have different sizes when loaded.
How to solve issues like this?