title: play 2 videoview overlap in one layout
body: <p>I want to make 2 videoviews overlap in one layout like this</p>
  
  <p><img src="https://i.stack.imgur.com/0qetz.png" alt="image"></p>
  
  <p>This my code: </p>
  
  <pre><code>private void PlayVideo() {
      try {
          getWindow().setFormat(PixelFormat.TRANSLUCENT);
          MediaController mediaController = new MediaController(
                  MainActivity.this);
          mediaController.setAnchorView(videoView);
  
          Uri video = Uri.parse(videourl);
          videoView.setMediaController(mediaController);
          videoView.setVideoURI(video);
          // videoView.requestFocus();
          videoView.setOnPreparedListener(new OnPreparedListener() {
  
              public void onPrepared(MediaPlayer mp) {
                  progressDialog.dismiss();
                  videoView.start();
              }
          });
  
      } catch (Exception e) {
          AlertDialog alertDialog = new AlertDialog.Builder(MainActivity.this)
                  .create();
  
          // Setting Dialog Title
          alertDialog.setTitle("Alert Dialog");
  
          // Setting Dialog Message
          alertDialog.setMessage("Video Play Error :" + e.toString());
  
          progressDialog.dismiss();
  
          System.out.println("Video Play Error :" + e.toString());
          finish();
      }
  </code></pre>
  
  <p>My problem is: video 1 can play, but video 2 not play. If I minimize my application and I maximize again, 2 videos can run at the same time.
  Please help , thanks before!</p>