Class FlexLine

  • All Implemented Interfaces:

    
    public class FlexLine
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getMainSize

         int getMainSize()
        Returns:

        the size of the flex line in pixels along the main axis of the flex container.

      • getCrossSize

         int getCrossSize()
        Returns:

        the size of the flex line in pixels along the cross axis of the flex container.

      • getItemCount

         int getItemCount()
        Returns:

        the count of the views contained in this flex line.

      • getItemCountNotGone

         int getItemCountNotGone()
        Returns:

        the count of the views whose visibilities are not gone in this flex line.

      • getTotalFlexGrow

         float getTotalFlexGrow()
        Returns:

        the sum of the flexGrow properties of the children included in this flex line

      • getTotalFlexShrink

         float getTotalFlexShrink()
        Returns:

        the sum of the flexShrink properties of the children included in this flex line

      • getFirstIndex

         int getFirstIndex()
        Returns:

        the first view's index included in this flex line.