Im making a game and using surfaceview.
I load bitmaps that represent character and background and so on.
But HOW do I properly scale it to fit large devices and small devices and other devices?
//Simon
NOTE* dpi wont work, only pixels work whhen using canvas
You can implement a helper method that you can use to request calculations based on the device’s dpi.
Based on @MitulNakum answer from this qustion, do this: