Android

How to get screen dimensions

tomato13 2010. 9. 16. 16:25

http://stackoverflow.com/questions/1016896/android-how-to-get-screen-dimensions


Display display = getWindowManager().getDefaultDisplay(); 
int width = display.getWidth();
int height = display.getHeight();