Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3z committed Jan 22, 2017
1 parent bc4b955 commit a227fac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A FlowLayout for Android, which allows child views flow to next row when there i
## Gradle

```
compile 'com.nex3z:flow-layout:0.1.1'
compile 'com.nex3z:flow-layout:0.1.2'
```


Expand All @@ -22,6 +22,7 @@ compile 'com.nex3z:flow-layout:0.1.1'
| childSpacing | `auto`/dimension | The horizontal spacing between child views. Either `auto`, or a fixed size. The default is 0dp. |
| childSpacingForLastRow | `auto`/`align`/<br>dimension | The horizontal spacing between child views of the last row. Either `auto`, `align` or a fixed size. If not set, `childSpacing` will be used instead. |
| rowSpacing | `auto`/dimension | The vertical spacing between rows. Either `auto`, or a fixed size. The default is 0dp. |
| rtl | boolean | `true` to layout child views from right to left. `false` to layout from left to right. The default is `false`. |

`auto` means that the actual spacing is calculated as per the size of the `FlowLayout` and the number of child views (or rows), so that the child views (or rows) are placed evenly.

Expand Down

0 comments on commit a227fac

Please sign in to comment.