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