Manjula
- Forum posts: 10
Jun 29, 2019, 9:35:50 AM via Website
Jun 29, 2019 9:35:50 AM via Website
Hai,
I have binded Gridview using ArrayAdapter.I need to show horizontal lines between rows and vertical lines between columns.How to show these lines in gridview?Below is my Code:
ArrayList arrayList = db.getAllStudent();
simpleList = (GridView) findViewById(R.id.simpleListView);
ArrayAdapter<String> arrayAdapter =new ArrayAdapter<>(this,android.R.layout.simple_list_item_1,arrayList);
simpleList.setAdapter(arrayAdapter);