@Yano
2016-01-03T15:58:59.000000Z
字数 231
阅读 1698
Android
WindowManager wm = this.getWindowManager();
int width = wm.getDefaultDisplay().getWidth();
int height = wm.getDefaultDisplay().getHeight();
System.out.println("width: " + width);
System.out.println("height: " + height);