public int getHeightDp() {
   return Math.round(getHeight() / Global.density);
 }
 public int getWidthDp() {
   return Math.round(getWidth() / Global.density);
 }