title: How to show Text on Image
body: <p>I have written a code, in which i am showing images in GridView, but now i want to show text in bottom of every image.</p>
  
  <p>And i want to show my Grid like this:</p>
  
  <p><img src="https://i.stack.imgur.com/rUhkr.png" alt="enter image description here"></p>
  
  <p>but getting like this <strong>[also want to show Text for Image]:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/iYR4n.png" alt="enter image description here"></p>
  
  <p>main.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout 
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      &gt;
      &lt;GridView
          android:id="@+id/gridview"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:verticalSpacing="0dp"
          android:horizontalSpacing="0dp"
          android:stretchMode="columnWidth"
          android:numColumns="2" 
          /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>