title: Surface View border with color is not setting
body: <p>I want to set the surface view border with color at run time. I am doing like this but its not working</p>
  
  <pre><code>//Video View to play the vidoes ads.
  surfaceView = new SurfaceView(context);
  GradientDrawable drawable = new GradientDrawable();
  drawable.setShape(GradientDrawable.RECTANGLE);
  drawable.setStroke(5, Color.MAGENTA);
  surfaceView.setBackgroundDrawable(drawable);
  surfaceView.setPadding(10, 10, 10, 10);
  </code></pre>
  
  <p>When I am settings this then video stop to display.</p>
  
  <p>Please help me to get it work correctly.</p>
  
  <p>Thanks in advance</p>