I’d don’t know how to create a grid for android, where I can add borders and background on each boxes.
What is the best way to do it ?
For the moment I have a RelativeLayout where I put some Button in, but it’s difficult to modify them easily.
Thanks 🙂
Look these link.
It might help you.
Link1
Link2
For setting border on each imageview inside the
GridLayout.Create a
layoutxml file in res/drawable:Add the background to imageview:
By programmatically: