title: Android: How to add two views to one activity
body: <p>I have a program where I want to add two views in one activity, like</p>
  
  <pre><code> public class AnimationActivity extends Activity {
   @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          setContentView(new GraphicsViewForBitmap(this));
          setContentView(new GraphicsView(this));
  
  
      }
  }
  </code></pre>
  
  <p>where GraphicsViewForBitmap &amp; GraphicsView are two classes extends view.
  so I want at a time two views should set to an activity.
  Is it possible?
  Plz give me answer.
  Thanks</p>