Showing posts with label Screen Size. Show all posts
Showing posts with label Screen Size. Show all posts

Saturday, March 17, 2012

Get Screen Size Of Device


get screen size of device

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