Skip to content

Commit d6009c3

Browse files
knightcubethagikura
authored andcommitted
Update README.md (#408)
1 parent 877a6a0 commit d6009c3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ which consumes much less memory especially when the number of items contained in
9595
![FlexboxLayoutManager in action](/assets/flexbox-layoutmanager.gif)
9696

9797

98-
## Supported attributes / features comparison
98+
## Supported attributes/features comparison
9999
Due to some characteristics of `RecyclerView`, some Flexbox attributes are not available/not implemented
100100
to the `FlexboxLayoutManager`.
101101
Here is a quick overview of the attributes/features comparison between the two implementations.
@@ -119,7 +119,7 @@ Here is a quick overview of the attributes/features comparison between the two i
119119
|View recycling| - |![Check](/assets/pngs/check_green_small.png)|
120120
|Scrolling| *1 |![Check](/assets/pngs/check_green_small.png)|
121121

122-
*1 Partially possible by wrapping it with `ScrollView`. But it isn't likely to work with large set
122+
*1 Partially possible by wrapping it with `ScrollView`. But it isn't likely to work with a large set
123123
of views inside the layout. Because it doesn't consider view recycling.
124124

125125
# Supported attributes
@@ -302,7 +302,7 @@ Here is a quick overview of the attributes/features comparison between the two i
302302

303303
* __layout_minWidth__ / __layout_minHeight__ (dimension)
304304
* These attributes impose minimum size constraints for the children of FlexboxLayout.
305-
A child view won't be shrank less than the value of these attributes (varies based on the
305+
A child view won't shrink less than the value of these attributes (varies based on the
306306
`flexDirection` attribute as to which attribute imposes the size constraint along the
307307
main axis) regardless of the `layout_flexShrink` attribute.
308308

@@ -320,11 +320,11 @@ Here is a quick overview of the attributes/features comparison between the two i
320320
* This attribute forces a flex line wrapping, the default value is `false`.
321321
i.e. if this is set to `true` for a
322322
flex item, the item will become the first item of a flex line. (A wrapping happens
323-
regardless of the flex items being processed in the the previous flex line)
323+
regardless of the flex items being processed in the previous flex line)
324324
This attribute is ignored if the `flex_wrap` attribute is set to `nowrap`.
325325
The equivalent attribute isn't defined in the original CSS Flexible Box Module
326326
specification, but having this attribute is useful for Android developers. For example, to flatten
327-
the layouts when building a grid like layout or for a situation where developers want
327+
the layouts when building a grid-like layout or for a situation where developers want
328328
to put a new flex line to make a semantic difference from the previous one, etc.
329329

330330
![Wrap before explanation](/assets/layout_wrapBefore.gif)
@@ -380,7 +380,7 @@ The `demo-cat-gallery` module showcases the usage of the FlexboxLayoutManager in
380380
that handles various sizes of views aligned nicely regardless of the device width like the
381381
Google Photo app without loading all the images on the memory.
382382
Thus compared to using the {@link FlexboxLayout}, it's much less likely to abuse the memory,
383-
which some times leads to the OutOfMemoryError.
383+
which sometimes leads to the OutOfMemoryError.
384384
```
385385
./gradlew demo-cat-gallery:installDebug
386386
```

0 commit comments

Comments
 (0)