you can obtain screen width and height with this:
Display display;
display = ((WindowManager) context .getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
int x = display.getWidth() ;
int y = display.getHeight();
Subscribe to:
Post Comments (Atom)
Tags
- Animation (1)
- hello world (1)
- Screen (2)
- Splash Screen (1)

comments
0 Responses to "getting android screen size"Post a Comment