基于螢屏寬度screenWidthDp適配方案
getResources().getConfiguration().screenWidthDp= (int) (getResources().getDisplayMetrics().widthPixels/ getResources().getDisplayMetrics().density);
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/78567.html
標籤:Android
上一篇:Android方法呼叫問題
