androidx.gridlayout:gridlayout

Official Description: Android Support Grid Layout

CommonsWare’s Notes

GridLayout is the first general-purpose layout class that Google supplied via a library, as a backport to the one that was added to the framework in API Level 14. GridLayout was based on Swing’s GridBagLayout and offered another approach for grid-like layouts, as an alternative to nested LinearLayout containers or TableLayout.

GridLayout never really caught on, and most of its use cases can be handled by ConstraintLayout. Hence, this library will only be useful if:

Most materials on GridLayout will refer to the framework class (android.widget.GridLayout) or the Android Support Library edition (android.support.v4.widget.GridLayout). The general functionality of those should match this AndroidX edition.

Documentation

Knowledge

Versions