Android中获取手机屏幕大小
代码如下:
1: Log.v("tag", "width>>"
2: + this.getWindow().getWindowManager().getDefaultDisplay()
3: .getWidth()
4: + " height>>"
5: + this.getWindow().getWindowManager().getDefaultDisplay()
6: .getHeight());