Counter XML View For Android
First, i'm sorry for my bad english.

alright, i want to ask, how to counter xml which already appear in android

for example, i have 5 .xml in eclipse. appear at random view. 

here my randomview class

    public void randomview(View view){
  		Random random = new java.util.Random();
          int rand = random.nextInt(3);
  		switch(rand){
  		case 0:
  			setContentView(R.layout.games0);
  			break;
  		case 1:
  			setContentView(R.layout.games2);
  			break;
  		case 2:
  			setContentView(R.layout.games4);
  			break;
  		}

thanks for helping.
Counter XML View For Android
===

First, i'm sorry for my bad english.

alright, i want to ask, how to counter xml which already appear in android

for example, i have 5 .xml in eclipse. appear at random view. 

here my randomview class

    public void randomview(View view){
  		Random random = new java.util.Random();
          int rand = random.nextInt(3);
  		switch(rand){
  		case 0:
  			setContentView(R.layout.games0);
  			break;
  		case 1:
  			setContentView(R.layout.games2);
  			break;
  		case 2:
  			setContentView(R.layout.games4);
  			break;
  		}

thanks for helping.