Need to make a gridview with two static text fields
<p>Hello i need to make a gridview like the following images with static textviews.<a href="https://i.stack.imgur.com/VSng6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VSng6.png" alt="enter image description here"></a></p>

<p>I need to make it in Portrait mode. I know there are lot of guides available on stackoverflow on how to make a gridview with two textviews but i am unable to follow them and failed many times trying to create a gridview exactly like this. Instead of marking my post as negative if someone could help me build a gridview like above i will be really great full.
Thanks!</p>

<p>Edit: I have tried a TableLayout in order to achieve the above layout and things are going well except i cannot draw a vertical line(divider). See the image below:<a href="https://i.stack.imgur.com/IQPQy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IQPQy.png" alt="enter image description here"></a></p>

<p>My Code:</p>

<pre><code>&lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:divider="#FF909090"
android:orientation="horizontal"
android:stretchColumns="1"
android:background="@drawable/custom_background"
android:showDividers="middle"&gt;
&lt;TableRow&gt;
    &lt;TextView
        android:text="Name"
        android:padding="3dip" /&gt;
    &lt;TextView
        android:text="Imran"
        android:gravity="left"
        android:padding="3dip" /&gt;
&lt;/TableRow&gt;

&lt;View
    android:layout_height="2dip"
    android:background="#FF909090" /&gt;

&lt;TableRow&gt;
    &lt;TextView
        android:text="Name"
        android:padding="3dip" /&gt;

    &lt;TextView
        android:text="Test"
        android:gravity="left"
        android:padding="3dip" /&gt;
&lt;/TableRow&gt;

&lt;View
    android:layout_height="2dip"
    android:background="#FF909090" /&gt;

&lt;TableRow&gt;
    &lt;TextView
        android:text="Name"
        android:padding="3dip" /&gt;

    &lt;TextView
        android:text="Test"
        android:gravity="left"
        android:padding="3dip" /&gt;
&lt;/TableRow&gt;
</code></pre>

<p></p>

<p>Thanks to all for helping me out.</p>