Class Guideline

    • Field Detail

      • mRelativePercent

        protected float mRelativePercent
      • mRelativeBegin

        protected int mRelativeBegin
      • mRelativeEnd

        protected int mRelativeEnd
      • mGuidelineUseRtl

        protected boolean mGuidelineUseRtl
    • Constructor Detail

      • Guideline

        public Guideline()
    • Method Detail

      • getRelativeBehaviour

        public int getRelativeBehaviour()
      • setOrientation

        public void setOrientation​(int orientation)
      • getType

        public java.lang.String getType()
        Specify the xml type for the container
        Overrides:
        getType in class ConstraintWidget
        Returns:
        type (null if not set)
      • getOrientation

        public int getOrientation()
        get the orientation VERTICAL or HORIZONTAL
        Returns:
        orientation
      • setMinimumPosition

        public void setMinimumPosition​(int minimum)
        set the minimum position
        Parameters:
        minimum -
      • getMinimumPosition

        public int getMinimumPosition()
        Get the Minimum Position
        Returns:
        the Minimum Position
      • setGuidePercent

        public void setGuidePercent​(int value)
      • setGuidePercent

        public void setGuidePercent​(float value)
      • setGuideBegin

        public void setGuideBegin​(int value)
      • setGuideEnd

        public void setGuideEnd​(int value)
      • getRelativePercent

        public float getRelativePercent()
      • getRelativeBegin

        public int getRelativeBegin()
      • getRelativeEnd

        public int getRelativeEnd()
      • setFinalValue

        public void setFinalValue​(int position)
      • cyclePosition

        public void cyclePosition()
      • isPercent

        public boolean isPercent()