1. 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
  2. 03 6月, 2016 3 次提交
  3. 01 6月, 2016 5 次提交
  4. 31 5月, 2016 3 次提交
  5. 29 5月, 2016 2 次提交
  6. 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
  7. 23 5月, 2016 1 次提交
    • T
      Lower the minSdkVersion to 9. · e14f589c
      Takeshi Hagikura 提交于
      Changes include:
      - Use methods from the ViewCompat otherwise those methods are not supported in
        < 14
      - Use the compat version of Fragment and Preferences for the demo app
      
      The ./gradlew build runs the lint check to verify the methods that aren't
      supported in the API level < 14 are not called.
      So it should be checked by the Circle CI.
      e14f589c
  8. 19 5月, 2016 1 次提交
  9. 18 5月, 2016 1 次提交
  10. 13 5月, 2016 1 次提交
  11. 11 5月, 2016 2 次提交
  12. 10 5月, 2016 2 次提交
    • T
      Bump version to 0.1.2 · 53982db3
      Takeshi Hagikura 提交于
      Change-Id: I397a83d3fa2dc268705df8855b0c567fca3f2fc4
      53982db3
    • T
      Fixes #18. · 403ff8ca
      Takeshi Hagikura 提交于
      When there is a view whose visibility is View.GONE, the itemCount in a FlexLine
      isn't correctly counted in the onMeasure method.
      Thus in the onLayout method, an index mismatch was introduced.
      
      Change-Id: I7e9c3ee8b847902c9db434e38dfc0a904951f611
      403ff8ca
  13. 06 5月, 2016 7 次提交