Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ImageView knopka1 = (ImageView) findViewById(R.id.imageView);
- ImageView knopka2= (ImageView) findViewById(R.id.imageView2);
- ImageView knopka3= (ImageView) findViewById(R.id.imageView3);
- ImageView knopka4= (ImageView) findViewById(R.id.imageView4);
- while (i <= level)
- {
- Random random = new Random();
- int counter = random.nextInt(4)+1;
- String knopka = "knopka"+String.valueOf(counter);
- knopka.performClick();
- }
Add Comment
Please, Sign In to add comment