title: How to add view as background to the surfaceView?
body: <p>Hi I am currently working on Game which contains VIEW of visualization of audio frequency effect in background of surfaceView. </p>
  
  <p><strong><code>The surfaceView contains actual game play.</code></strong> </p>
  
  <p>I posting some code snippets :- </p>
  
  <p><strong><code>main.xml</code></strong></p>
  
  <pre><code>&lt;FrameLayout
      android:layout_width="fill_parent"
      android:layout_height="0dp"
      android:layout_margin="5dp"
      android:layout_weight="1"
      android:background="#000" &gt;
  
      &lt;co.ardor.visualizer.VisualizerView
          android:id="@+id/visualizerView"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent" &gt;
      &lt;/co.ardor.visualizer.VisualizerView&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p><strong><code>Visualizer view</code></strong> are created as follows -</p>
  
  <pre><code>public class VisualizerView extends View
  {
    private static final String TAG = "VisualizerView";
  
    private byte[] mBytes;
    private byte[] mFFTBytes;
    private Rect mRect = new Rect();
    private Visualizer mVisualizer;
    private Set&lt;Renderer&gt; mRenderers; // type of Renderer class
  
    private Paint mFlashPaint = new Paint(); // for flash paint
    private Paint mFadePaint = new Paint(); // for fade paint
  
    public VisualizerView(Context context, AttributeSet attrs, int defStyle)
    {
      super(context, attrs);
      init();
   }
  
    public VisualizerView(Context context, AttributeSet attrs)
   {
      this(context, attrs, 0);
   }
  
    public VisualizerView(Context context)
    {
     this(context, null, 0);
    } 
  
    // Some code regarding to the audio visualization..
  }
  </code></pre>
  
  <p>My VisualizerView running well so how I can add this as background to SurfaceView (Actual running Game).I am stuck on the problem that <strong><code>"How to add VIEW as background of surfaceView?"</code></strong> Or any another better solution for that.. 
  Thx in advance..</p>