I would like to create a layout with many ImageView on it.
It should be an array of 10 pictures by 15 pictures. There is only 5 differents picture but I need to place them many time on this array.
Something like that but in 10 * 15 :
http://blazinggames.com/brain/puzzle/screenshots/cc.gif
So far, I am using a linear layout ( not sure it is the best choice Oo ) and I have this :

unsing this code :
LinearLayout linearLayout= new LinearLayout(this);
linearLayout.setOrientation(LinearLayout.HORIZONTAL);
linearLayout.setLayoutParams(new LayoutParams(
LayoutParams.MATCH_PARENT,
LayoutParams.MATCH_PARENT));
ImageView imageView = new ImageView(this);
imageView.setImageResource(R.drawable.green);
imageView.setLayoutParams(new LayoutParams(
LayoutParams.MATCH_PARENT,
LayoutParams.WRAP_CONTENT));
linearLayout.addView(imageView);
setContentView(linearLayout);
And I set an imageview1, imageview2, ... Each one with one of the 5 drawable I want ...
I know ! It is not the good way to code this ! It could work but it is very very long !
That is why I am here ^^
Can anyone help me ?
Thanks