AndroidFlowLayout

Additional

Language
Java
Version
N/A
Created
Feb 11, 2015
Updated
Nov 16, 2015 (Retired)
Owner
Fei Liang (liangfeidotme)
Contributors
randy (ztelur)
Fei Liang (liangfeidotme)
2
Activity
Badge
Generate
Download
Source code

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.