示例#1
0
 public int getHeightDp() {
   return Math.round(getHeight() / Global.density);
 }
示例#2
0
 public int getWidthDp() {
   return Math.round(getWidth() / Global.density);
 }