阅读背景:

如何在android中显示随机的xml布局

来源:互联网 

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




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: