1. 22 3月, 2017 1 次提交
  2. 15 3月, 2017 1 次提交
  3. 27 2月, 2017 1 次提交
  4. 19 12月, 2016 1 次提交
    • T
      Fix the incorrect denominator in the folllowing case (#163) · 4db51fa0
      Takeshi Hagikura 提交于
      This PR fixes the incorrect alignment where:
      - justifyContent is set to either or space_between or space_around
      - Views whose visibitilies are gone are included in a flex line
      
      Also use the number of item count, which the number of gone items are filtered
      where appropriate.
      
      Fixes #162
      4db51fa0
  5. 08 12月, 2016 1 次提交
  6. 07 12月, 2016 1 次提交
    • T
      Fix the issue that child margins do not expand flexbox container with wrap_content (#155) · 1a9fbc3b
      Takeshi Hagikura 提交于
      This PR fixes the case where:
        - layout_width is set to wrap_content for the FlexboxLayout
        - End (or start) margin is set to a child
        - The child which the has the end (start) margin has the largest width in the
          same flex line (or only a single child exists)
        - The child has a positive layout_flexGrow (or layout_flexShrink) attribute set
      
      If these conditions were met, the width of the FlexboxLayout didn't take the bottom
      margin on the child into account.
      
      Fixes #154
      1a9fbc3b
  7. 21 11月, 2016 2 次提交
  8. 16 11月, 2016 1 次提交
    • T
      Fix the invalid height in the following situation: (#140) · b5af2041
      Takeshi Hagikura 提交于
      - flex direction is set to row (or row_reverse)
      - FlexboxLayout has a TextView (or other views that expand vertically if
        not enough space is left horizontally)
      - TextView's layout_width is set to 0dp, layout_height is set to wrap_content and
        layout_flexGrow is set to positive
      
      In the situation above, the initial height of the TextView is calculated
      as bigger than the actual height because at first the width is set to 0dp,
      so the TextView is trying to expand vertically, but actually the height
      needs to be measured again with the expanded width (by setting the
      layout_flexGrow attribute)
      b5af2041
  9. 21 10月, 2016 1 次提交
  10. 09 9月, 2016 1 次提交
  11. 05 9月, 2016 1 次提交
  12. 31 8月, 2016 1 次提交
  13. 27 7月, 2016 4 次提交
  14. 15 6月, 2016 1 次提交
  15. 14 6月, 2016 1 次提交
  16. 08 6月, 2016 2 次提交
  17. 07 6月, 2016 1 次提交
  18. 06 6月, 2016 4 次提交
    • T
      Fixes #62. · 2092758a
      Takeshi Hagikura 提交于
      To judge the line wrapping, the padding value from the parent and the margin
      of the child being processed were missing.
      This PR adds those values when judging if a new flex line is required.
      2092758a
    • T
      Revert "Fixes the issue #62" · d665215c
      Takeshi Hagikura 提交于
      d665215c
    • T
      Adds missing layout_wrapBefore for the Javadoc · 3d30d455
      Takeshi Hagikura 提交于
      3d30d455
    • T
      Fixes the issue #62 · 7b1f3a50
      Takeshi Hagikura 提交于
      This fixes the edge case where the child's width is WRAP_CONTENT and some
      of the contents along the main axis would be truncated if parent's padding
      is added (if this is the case, remeasure the child with accumulated width
      taken into account to avoid some of the contents to be truncated).
      Because accumulated width is not taken into account in the first
      measurement of each child (because FlexboxLayout has the concept of wrapping,
      at the first measurement of each child, we want the child to be big as it
      wants even if there is not enough left over space)
      
      Change-Id: I949fe6b549b5f7c10255ad5fcf6d05fb9a58eeec
      7b1f3a50
  19. 03 6月, 2016 3 次提交
  20. 01 6月, 2016 5 次提交
  21. 31 5月, 2016 3 次提交
  22. 29 5月, 2016 2 次提交
  23. 27 5月, 2016 1 次提交
    • T
      Avoid object creations in the onMeasure method. · e8083a52
      Takeshi Hagikura 提交于
      (avoid reordering the views in every onMeasure method even if any order
      attributres haven't changed from the last measurement)
      
      Instead, this PR changes the behavior to reorder the views if a new view
      is added or order attributes of any children has changed from the last
      measurement.
      
      Change-Id: Ied25bdbcb0da93a96445e4225eac7fee6b93cff9
      e8083a52