title: viewflipper with different views
body: <p>I want to build circle of three View,On each view two buttons to prev and next View all the three View connected  by them.
  I have three layout for each View, and three CustomView that inflate accordingly with the layout.
  and above all one Activity that hold ViewFlipper.</p>
  
  <p>my questions is: </p>
  
  <p>1.how could I flip between them with viewFlipper?<br>
   with myFlipper.addView(myView) or should i use  tag inside the viewFlipper layout? </p>
  
  <p>2.how to inflate my view with the relevant Layout 
  I already try <code>LayoutInflater inflater = (LayoutInflater)     context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
          inflater.inflate(R.layout.t1, null);</code></p>
  
  <p>my activity looks like this</p>
  
  <pre><code>public class Activity1 extends Activity {
     private ViewFlipper flipper;
  
     public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.view_fliper_layout);
       flipper = (ViewFlipper) findViewById(R.id.flipper);
       myView1 temp1= new myView1 (this); 
  
       flipper.addView(myView1 , 1);     
       flipper.setDisplayedChild(1);
       }
   }
  </code></pre>