FlowLayout

Horizontally lay out children until the row is filled and then moved to the next line. Call setSingleLine to disable reflow and lay all children out in one line.

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)

Functions

Link copied to clipboard
open fun getRowIndex(@NonNull child: View): Int
Gets the row index of the child, primarily for accessibility.
Link copied to clipboard
open fun isSingleLine(): Boolean
Returns whether this chip group is single line or reflowed multiline.
Link copied to clipboard
open fun setSingleLine(singleLine: Boolean)
Sets whether this chip group is single line, or reflowed multiline.