title: how to set text on image view using table layout?
body: <p>i have use android studio and and in XML file i m use the table layout and put image view on table row and i have to set text on image view how is this possible? </p>
  
  <p>my out put is: <a href="http://postimg.org/image/czfu60751/" rel="nofollow">http://postimg.org/image/czfu60751/</a></p>
  
  <p>original out put is: <a href="http://postimg.org/image/ea19hefpv/" rel="nofollow">http://postimg.org/image/ea19hefpv/</a></p>
  
  <pre><code>XML code:
  &lt;TableRow
      android:layout_height="fill_parent"
      android:layout_width="fill_parent"
      android:gravity="center_horizontal"&gt;
  
      &lt;ImageView
          android:id="@+id/imageView"
          android:layout_width="390dp"
          android:layout_height="300dp"
          android:background="@drawable/letestnews"
          android:text="@string/letestnews"
          android:textColor="#000"
          android:padding="20dip"
          android:gravity="center" /&gt;
  
      &lt;ImageView
          android:id="@+id/imageView1"
          android:layout_weight="1"
          android:text="@string/babaji"
          android:layout_height="fill_parent"
          android:background="@drawable/babaji"
          android:textColor="#000"
          android:padding="20dip"
          android:gravity="center"/&gt;
  &lt;/TableRow&gt;
  
  &lt;TableRow
      android:layout_height="fill_parent"
      android:layout_width="fill_parent"
      android:gravity="center_horizontal"&gt;
  
  &lt;ImageView
      android:id="@+id/imageView2"
      android:layout_weight="1"
      android:layout_height="300dp"
      android:layout_width="fill_parent"
      android:background="@drawable/babajispeaks"
      android:text="@string/babajispeaks"
      android:textColor="#ffffff"
      android:gravity="center"/&gt;&lt;/TableRow&gt;
  
  &lt;TableRow
      android:layout_height="fill_parent"
      android:layout_width="fill_parent"
      android:gravity="center_horizontal"&gt;
      &lt;ImageView
          android:id="@+id/imageView3"
          android:layout_height="300dp"
          android:background="@drawable/meditation"
          android:text="@string/meditation"
          android:layout_weight="1"
          android:textColor="#ffffff"
          android:padding="20dip"
          android:gravity="center"
          /&gt;
  
      &lt;ImageView
          android:id="@+id/imageView4"
          android:layout_height="300dp"
          android:layout_width="390dp"
          android:background="@drawable/teaching"
          android:text="@string/teaching"
          android:textColor="#ffffff"
          android:padding="20dip"
          android:gravity="center" /&gt;
      &lt;/TableRow&gt;
  </code></pre>
  
  <p></p>