FlowLayout
A FlowLayout for Android, which allows child views flow to next row when there is no enough space. The spacing between child views can be calculated by the FlowLayout so that the views are evenly placed.
Gradle
AndroidX:
implementation 'com.nex3z:flow-layout:1.3.0'
AppCompact:
implementation 'com.nex3z:flow-layout:1.2.4'
Usage
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:flChildSpacing="auto"
app:flChildSpacingForLastRow="align"
app:flRowSpacing="8dp">
android:layout_widt