原创 Android9.0 推薦 獲取實際屏幕高度和寬度的方法

第一種: Point outSize = new Point(); getWindowManager().getDefaultDisplay().getRealSize(outSize); int x = out