code: private void setSpacing() {
          final int verticalSpacing = styledAttributes.getDimensionPixelOffset(R.styleable.PinLock_keypadVerticalSpacing, 2);
          final int horizontalSpacing = styledAttributes.getDimensionPixelOffset(R.styleable.PinLock_keypadHorizontalSpacing, 2);
          setVerticalSpacing(verticalSpacing);
          setHorizontalSpacing(horizontalSpacing);
      }
docs: Setting up vertical and horizontal spacing for the view