SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
Display display = getWindowManager().getDefaultDisplay(); Point displaySize = new Point(); display.getSize(displaySize); int width = displaySize.x; int height = displaySize.y;