Package 

Enum DaySize

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum DaySize
    extends Enum<DaySize>
                        

    Determines how the size of each day on the calendar is calculated.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FreeForm

      The day is allowed to determine its width and height by setting specific values or using ViewGroup.LayoutParams.WRAP_CONTENT.

      SeventhWidth

      Each day will have its width matching the width of the calendar divided by 7. This day is allowed to determine its height by setting a specific value or using ViewGroup.LayoutParams.WRAP_CONTENT.

      Rectangle

      Each day will have its width matching the width of the calendar divided by 7, and its height matching the height of the calendar divided by the number of weeks in the index - could be 4, 5 or 6 for the month calendar, and 1 for the week calendar. Use this if you want each month or week to fill the parent's width and height.

      Square

      Each day will have both width and height matching the width of the calendar divided by 7.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait