Nan's Dev Blog
Sharing solutions that i found to resolve my problems
Jun 2, 2008
(Android) How to get screen size
WindowManager a = this.getWindowManager();
Display v = a.getDefaultDisplay();
String s = "Height: " + v.getHeight();
String b = "Widtht: " + v.getWidth();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment