I want to create a GridLayout able to run in all the APIs.
The thing is, when i use GridLayout instead of android.support.v7.widget.GridLayo
I had the same issue and I just go to activity_main.xml and replaced
activity_main.xml
android.support.v7.widget.GridLayout
to this:
android.widget.GridLayout