Skip to content

yixiaolunhui/FlowLayout

Repository files navigation

For most of the current demand flowlayout

效果图

image

image

2.0.0 版本新增功能:

    1、解决流布局显示问其题,如设置padding或者在其他布局中显示问题。
    2、单选
    3、多选  增加最大数量限制设置及回调。
    4、支持选择和tag标签  tag标签不能点击选择只能显示查看 
    5、增加是否平均分配宽度 还是自适。

如何使用

                              <com.dalong.flowlayout.DLFlowLayout
                                         android:id="@+id/flowlayout"
                                         android:layout_width="match_parent"
                                         android:layout_height="wrap_content"
                                         android:background="@color/colorAccent"
                                         app:DL_equally="true"
                                         app:DL_flowBg="@drawable/bg_tag"
                                         app:DL_horizontalSpacing="5dp"
                                         app:DL_isSingle="false"
                                         app:DL_maxSelectNum="3"
                                         app:DL_stype="select"
                                         app:DL_textSize="15"
                                         app:DL_verticalSpacing="5dp"/>

gradle使用

compile 'com.dalong:flowlayout:2.0.0'

About

适合目前大多数需求的流布局

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages