Skip to content

Commit

Permalink
recovery the readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingRadish committed Aug 2, 2016
1 parent 3355e11 commit c8bc32e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# FlexLayout
flex layout in Android!

##Attrs
- justify-content
- align-content
- align-item
- rowDividerHeight
- itemDividerWidth

##Example
###Flex
![](https://raw.githubusercontent.com/houxg/ScreenShot/master/FlexLayout/flex.jpg)
---
###Justify center
![](https://raw.githubusercontent.com/houxg/ScreenShot/master/FlexLayout/justify_center.jpg)
---
###Align item center
![](https://raw.githubusercontent.com/houxg/ScreenShot/master/FlexLayout/align_item_center.jpg)
---
###Justify space between
![](https://raw.githubusercontent.com/houxg/ScreenShot/master/FlexLayout/justify_space_between.jpg)
---
###Justify space around
![](https://raw.githubusercontent.com/houxg/ScreenShot/master/FlexLayout/justify_space_around.jpg)
##Useage
```
<org.houxg.flexlayout.FlexLayout
android:layout_width="match_parent"
android:layout_height="300dp"
app:align_item="center"
app:itemDividerWidth="5dp"
app:justify_content="start"
app:rowDividerHeight="5dp"
app:align_content="space_between">
    ...views that you want to be flex...
</org.houxg.flexlayout.FlexLayout>
```

0 comments on commit c8bc32e

Please sign in to comment.