code: @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
      final int parentWidth = getWidth();
      final int count = getChildCount();
      final int parentLeft = 0;
      final int parentRight = parentWidth;
  
      int childTop = 0;
      int childLeft = parentLeft;
      int childRight = parentRight;
  
      for (int i = 0; i < count; i++) {
        final View child = getChildAt(i);
  
        final int width = child.getMeasuredWidth();
        final int height = child.getMeasuredHeight();
  
        if (LocalUtils.isRTL()) {
          child.layout(childRight - width, childTop, childRight, childTop + height);
          childRight -= width;
        } else {
          child.layout(childLeft, childTop, childLeft + width, childTop + height);
          childLeft += width;
        }
  
        //We should warp every so many children
        if (i % DEFAULT_DAYS_IN_WEEK == (DEFAULT_DAYS_IN_WEEK - 1)) {
          childLeft = parentLeft;
          childRight = parentRight;
          childTop += height;
        }
      }
    }
docs: {@inheritDoc}