- 06 6月, 2016 4 次提交
-
-
由 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.
-
由 Takeshi Hagikura 提交于
-
由 Takeshi Hagikura 提交于
-
由 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
-
- 03 6月, 2016 3 次提交
-
-
由 Takeshi Hagikura 提交于
-
由 Takeshi Hagikura 提交于
-
由 Takeshi Hagikura 提交于
Change-Id: Ie950147e6920a9c5c9abd35baa282da5817f9f3a
-
- 01 6月, 2016 5 次提交
-
-
由 Takeshi Hagikura 提交于
Change-Id: I1b1950ba952a6c2ad22bffe426e2a6ebcb84abb6
-
由 Takeshi Hagikura 提交于
imposed by the minWidth/minHeight or maxWidth/maxHeight attributes. The size constraints were checked only the main axis direction. This PR adds the check for the cross axis direction. Change-Id: I8463b9d0f59a629c1c0fed2de7dda37fcae2055c
-
由 Takeshi Hagikura 提交于
masked by ViewCompat.MEASURED_SIZE_MASK since the view size can't be beyond that value and otherwise Android Studio warns in the MeasureSpec.makeMeasureSpec if there is a possibility an argument is passed beyond the value is passed. Change-Id: I4eb552c57d4f25a2ed3063c2e572385b74539adf
-
由 Takeshi Hagikura 提交于
to reduce the frequency of GC. Change-Id: If96c13d4931d4416eff74cb0c945553e648db49e
-
由 Takeshi Hagikura 提交于
Change-Id: I07aaacce206264fb62de59792f6e998fe3abb0ae
-
- 31 5月, 2016 3 次提交
-
-
由 Takeshi Hagikura 提交于
Change-Id: I6951cb986e096276255374e5962084353471a2ee
-
由 Takeshi Hagikura 提交于
https://github.com/google/flexbox-layout/pull/34 Change-Id: I0fdeff297e66a5310fe692175b0db737f10b12c6
-
由 Evan Tatarka 提交于
This allows you to specify a minimum size your view is allowed to shrink to. #1
-
- 29 5月, 2016 2 次提交
-
-
由 Takeshi Hagikura 提交于
Where views are removed at the tail of the existing views and in the middle of the existing views.
-
由 Takeshi Hagikura 提交于
middle of the existing views.
-
- 27 5月, 2016 1 次提交
-
-
由 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
-
- 23 5月, 2016 1 次提交
-
-
由 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.
-
- 19 5月, 2016 1 次提交
-
-
由 Takeshi Hagikura 提交于
-
- 18 5月, 2016 1 次提交
-
-
由 Takeshi Hagikura 提交于
-
- 13 5月, 2016 1 次提交
-
-
由 Takeshi Hagikura 提交于
Change-Id: I6bdf29d1682cf15c26776f6ffcce87fd3b7f4ef6
-
- 11 5月, 2016 2 次提交
- 10 5月, 2016 2 次提交
-
-
由 Takeshi Hagikura 提交于
Change-Id: I397a83d3fa2dc268705df8855b0c567fca3f2fc4
-
由 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
-
- 06 5月, 2016 7 次提交
-
-
由 Takeshi Hagikura 提交于
-
由 Takeshi Hagikura 提交于
Change-Id: I0fe63000ce7535703bc5d2fd103becfa2f04bbc2
-
由 Takeshi Hagikura 提交于
Change-Id: Ic55c0be6323dcb3bac68d7b8c30caf2e4578bbaf
-
由 Takeshi Hagikura 提交于
space_between or space_around and the FlexLayout has any paddings. Change-Id: Ic1dbafe7d94ebafdc11c2b5f4bf3db056ae78268
-
由 Takeshi Hagikura 提交于
Change-Id: Ibad62661879d547c16c30477947f8f1acf808095
-
由 Takeshi Hagikura 提交于
Change-Id: I88827701e5a5c5bd0c00f9963401838ae639f425
-
由 Takeshi Hagikura 提交于
- Adds gradle setting files for bintray and maven - rename the module name from 'library' to 'flexbox' to match the artifactId Change-Id: I292d99329c4d44b0e609e90ad88f1373f56e2187
-