取得手機系統的屏幕分辨率2

WindowManager manager = getWindowManager();Point point = new Point();manager.getDefaultDisplay().getSize(point);manager.getDefaultDisplay().getSize(point);Log.i(TAG, "height: "+point.y);Log.i(TAG, "width: "+point.x);
相關文章
相關標籤/搜索