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