How to wrap a layout having multiple textviews to an image
<p>I am making an app in which I want to make one certificate. For that purpose,I have made one layout with textviews and I want to convert it to an image. How to make an image with multiple textviews?</p>

<p>This is the layout:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="500.0dp"
    android:orientation="vertical" &gt;

    &lt;TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Certificate"
        android:layout_gravity="center"
        android:layout_marginTop="20.0dp"
        android:textStyle="bold"
        android:typeface="serif" 
        android:textSize="20.0dp"
        android:textColor="@color/dark_green"
        android:visibility="gone"
        /&gt;

    &lt;TextView
        android:id="@+id/NameText"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="70.0dp"
         android:visibility="gone"
        android:text="" /&gt;

    &lt;RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="200.0dp" 
        android:visibility="gone"
        &gt;

        &lt;TextView
            android:id="@+id/Date"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:text="Date:" /&gt;

        &lt;TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:text="Place:" /&gt;
    &lt;/RelativeLayout&gt;

&lt;/LinearLayout&gt;
</code></pre>
