Friday, February 22, 2013

Get Screen Size Of Device


get screen size of device

?
1
2
int windowHeight = getWindowManager().getDefaultDisplay().getHeight();
int windowWidth = getWindowManager().getDefaultDisplay().getWidth();

No comments:

Post a Comment