Reputation: 729
I'm trying to make some auto fill grid, but without know the width from every item. So, the width from child can be deferent in every row and every column. It only depends from a TextView.
I want something like this.
I'm tried with GridLayout and android:numColumns="auto_fit"
but isn't what I'm looking for.
I also check this post but is basically same as GridLayout.
Anyone know some other solutions??
Upvotes: 0
Views: 1131
Reputation: 54204
Flexbox-Layout is a project by Google to provide both a simple view and a RecyclerView
layout manager that does what you want. https://github.com/google/flexbox-layout
Upvotes: 3