my app has a bunch of xml layout files. now, i want to add a functionality where a defined number, i.e. 15, of them will be included in an activity. The 15 layouts should be picked randomly every time the activity is started. How do I do that? I was thinking about an array but could not find any good reference about how to include xml files in an array (random).my app has a bunch of xml layout files. now, i