Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

Latest commit

 

History

History
44 lines (33 loc) · 786 Bytes

README.md

File metadata and controls

44 lines (33 loc) · 786 Bytes

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.