In the table, the top row represents the headings. And the bottom row summarizes the columns in the table. The adapter is the most primitive. itemsArray is the entire contents of the table (array String []). tableitem and tvTextt is an arrangement and TextView.
adapter = new ArrayAdapter<String>(this, R.layout.tableitem, R.id.tvTextt, itemsArray); gridView.setAdapter(adapter); gridView.setNumColumns(3); How to make the first and last 3 elements of the table (the heading and bottom row cells) be painted in some other color, and the text size changed (so that the table does not look monotonous)?