This simple app turns your Android phone into a GridLayout Item Click Demo App.
To use this app the user just clicks the 'GridLayout Item Click Demo' app icon and they are taken right into the app. They are greeted with a background that has a colored top with text. Then a number of options in 6 white boxes with titles under each icon. In the first part when a user clicks one of the options a Toast message pops up to say 'Clicked at index: ' then gives the number.
The second part adds a different option when an option is clicked. It will change the color from the default white to an orange colored area and then show a Toast message that pops up to say either 'State : On' (clicked, color: orange) or 'State : Off' (clicked, color: white). The demo below shows video and screen caps of the various options being implemented.
This program uses the following assorted library 'com.android.support:cardview-v7:26.1.0'.
Production App screen caps taken from App running on Nexus 5X running Android 8.0 Oreo (API Level 26).