title: Implementing loop of images in android
body: <p>I want to implement the loop of my android game if some body could help me</p>
  
  <p>I have loaded random images on image view. </p>
  
  <p>Now i want to accelerate my image from bottom left of screen to center of screen making an angle of 45 degrees.after reaching the peek it should come down at the bottom right corner making 45 degrees angle..</p>
  
  <p>my code is</p>
  
  <pre><code>int[] imageView = {
              R.id.imageV
              };
  
      int[] images ={
            R.drawable.image1,
            R.drawable.image2,
            R.drawable.image3,
            R.drawable.image4
           };
  
        Random rand=new Random();
  
        for(int v : imageView) {
              ImageView iv = (ImageView)findViewById(v);
  
              iv.setImageResource(images[rand.nextInt(images.length)]);
  
          }
  </code></pre>