一个带自动间距的 Android 流布局。
Android 的 FlowLayout 允许子视图在空间不足时流向下一行。FlowLayout 可以计算子视图之间的间距,以便视图被均匀地放置。
## Gradle AndroidX: ``` implementation 'com.nex3z:flow-layout:1.3.3' ``` AppCompact: ``` implementation 'com.nex3z:flow-layout:1.2.4' ``` ## 使用方法 ```xml
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="SUN"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="MON"/></com.nex3z.flowlayout.FlowLayout>
## 属性
| 属性 | 格式 | 描述暂无开放 Issues,或尚未同步最近议题。