this is a really simple question on which I\'ve found no answer :/ How can I quickly access the screen resolution (width, height) as integer values?
I\'ve tried this
I use the following:
int scrWidth = getWindowManager().getDefaultDisplay().getWidth(); int scrHeight = getWindowManager().getDefaultDisplay().getHeight();
No muss, no fuss, just 2 class variables