Home

Awesome

AndroidFlowLayout

A flow layout for Android

samples

![](screenshot.png?raw=true =250x)

dependencies

gralde

compile 'com.liangfeizc:flowlayout:1.0.0@aar'

maven

<dependency>
    <groupId>com.liangfeizc</groupId>
    <artifactId>flowlayout</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>

usage

<com.liangfeizc.flowlayout.FlowLayout
    android:id="@+id/flow_layout"
    flowlayout:vertical_spacing="10dp"
    flowlayout:horizontal_spacing="10dp"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />

tips

If you min sdk version is smaller than 16, you can add <uses-sdk tools:overrideLibrary="com.liangfeizc.flowlayout" /> to your AndroidManifest.xml.