title: How to add image/video widget in GvrView of Google Cardboard?
body: <p>I am new to google cardboard and trying to implement a very simple demo.
  I have tried with VrVideowidget &amp; panowidget separately but failed to implement it with GvrView. My work with code and output is given below.</p>
  
  <p>I have added a GvrView which provide split screen automatically, after that i want to add same image/video into each screen so that it can appear well on google cardboard . The view I am adding via addView() appear single instead of two on both screen. I have added it on onDrawEye(). Please help me to reslove.</p>
  
  <p>My final aim is to create a very basic demo of image/video on  Google Cardboard with required feature.</p>
  
  <p>MainActivity.java</p>
  
  <pre><code>public class MainActivity extends GvrActivity implements GvrView.StereoRenderer {
  
  
      GvrView gvrView;
  
      private ImageView imageView;
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          imageView = new ImageView(this);
  
          gvrView = new GvrView(this);
  
          gvrView.setRenderer(this);
  
          setContentView(gvrView);
  
      }
  
   @Override
      public void onDrawEye(Eye eye) {
  
          imageView.setImageResource(R.drawable.ic_launcher);
         // gvrView.addView(imageView);
          gvrView.addView(imageView,400,400);
  
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qZXP5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qZXP5.png" alt="enter image description here"></a></p>