title: Play two videos in one VideoView at the same time
body: <p>This is not a question about playing two separate videos in two separate VideoViews on the one activity.</p>
  
  <p>I have been asked to see if it is possible to create an activity with a single VideoView. When the user opens the Activity, they are asked to select a base video and then select a second video. Both videos will be playing in the one VideoView at the same time, but the base video will have an alpha of 255 and the second video will have an alpha of 150.</p>
  
  <p>For testing though, video files located on the phone will do.</p>
  
  <p>At this time, I have only been able to create an activity that plays a single video in a VideoView.</p>
  
  <p>I thought if I created a custom VideoView class I could override the onDraw function and somehow grab the video frame from the second video, apply alpha and then redraw it over the first VideoView's canvas, but I do not know where to start.</p>
  
  <p>My other concern with this process is the amount of memory used to play two videos at once in the one VideoView as well as the processing required to apply the alpha and then redraw it seamlessly without affecting the performance or playback of the video. </p>
  
  <p>I'm not sure where to start or how best to approach this and if possible, was hoping for some guidance as to either methods or objects to use.</p>
  
  <p>I'm developing a demo application to show the client on an Android 2.2 system using Eclipse. I'm not looking to target any higher systems at this time as the demo phone runs Android 2.2. </p>