java - ArrayList on XML Random -
i app randomly picks items xml arraylist. found answer question covers do.
problem code adapted question (randomly picks colours).
in situation, instead of colours, want randomly pick images.
my xml far:
<resources> <string-array name="colours"> <item>r.mipmap.blue</item> <item>r.mipmap.green</item> <item>r.mipmap.red</item> </string-array> </resources>
basically, images coloured circles.
if tell me how adapt java instead of randomly picking colours, picking images, i'm hears ;)
be patient me please, i'm noob programmer.
i want same thing have used integer-array drawable id , set imageview go this link
Comments
Post a Comment