code: public Dialog contentMargin(int left, int top, int right, int bottom){
          mCardView.setContentMargin(left, top, right, bottom);
          return this;
      }
docs: Set the margin between content view and Dialog border.
  @param left The left margin size in pixels.
  @param top The top margin size in pixels.
  @param right The right margin size in pixels.
  @param bottom The bottom margin size in pixels.
  @return The Dialog for chaining methods.