code: private int dpToPx(float dp) {
          final DisplayMetrics displayMetrics = getContext().getResources().getDisplayMetrics();
          float px = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics);
          return Math.round(px);
      }
docs: /*
  **********************************************************************************
  UTILITY METHODS
  **********************************************************************************