A flow layout for Android
![](screenshot.png?raw=true =250x)
compile 'com.liangfeizc:flowlayout:1.0.0@aar'
<dependency>
<groupId>com.liangfeizc</groupId>
<artifactId>flowlayout</artifactId>
<version>1.0.0</version>
<type>aar</type>
</dependency>
<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" />
If you min sdk version is smaller than 16, you can add <uses-sdk tools:overrideLibrary="com.liangfeizc.flowlayout" />
to your AndroidManifest.xml.