Android獲取屏幕大小的代碼如下: private DisplayMetrics dm; dm = new DisplayMetrics(); this.getWindowMana ...
www.linuxidc.com