I have a GridLayout of 8x8 cells and I want to control each one's background colour dynamically. I have written most of my java code and am confident I can get it to give me an array with 64 colours in it for the backgrounds to be taken from. How do I take these values and change the background colour of the GridLayout cells at the end of my code?
Just to clarify, this is for an API of 14 or higher, I'm writing it specifically for my Galaxy S2, though it should work with any android phone with an API of 14+.
I'm happy to post up any code that might help but I think the question is sufficient alone.