title: How to convert Views to bitmaps?
body: <p>I have two Views (<code>Textview</code> &amp; <code>ImageView</code>) in the <code>FrameLayout</code>, I want to save the image with text. For this, I covert the View to a bitmap.</p>
  
  <p>My xml is:</p>
  
  <pre><code>&lt;FrameLayout 
       android:id="@+id/framelayout"
       android:layout_marginTop="30dip"
       android:layout_height="fill_parent" 
       android:layout_width="fill_parent"&gt;
  
       &lt;ImageView 
            android:id="@+id/ImageView01"
            android:layout_height="wrap_content" 
            android:layout_width="wrap_content"/&gt;
  
      &lt;TextView android:id="@+id/text_view"
            android:layout_marginTop="30dip"
            android:layout_width="wrap_content" 
            android:maxLines="20"
            android:scrollbars="vertical"
            android:layout_height="wrap_content"/&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>