android – How to program in MainActivity with Grilayout?

How can I see a text in main_activity with a click of the GridLayout button.