title: How to create customized grid view with two textview
body: <p>How can i customize a cell of Grid view with two textview, as i want to show 2 labels in each cell.</p>
  
  <p>In my task, i am looking for the Grid View as a Table and it contains two various Values in each cell. i have Tried the Customized Grid view for this as follow.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
  &lt;Button android:id="@+id/selectBtn"
      android:layout_width="wrap_content" android:layout_height="wrap_content"
      android:text="Select" android:layout_alignParentBottom="true"
      android:layout_centerHorizontal="true"
      android:minWidth="200px" /&gt;
  &lt;GridView android:id="@+id/PhoneGrid"
      android:layout_width="fill_parent" android:layout_height="fill_parent"
      android:numColumns="auto_fit" android:verticalSpacing="10dp"
      android:horizontalSpacing="10dp" android:columnWidth="90dp"
      android:stretchMode="columnWidth" android:gravity="center"
      android:layout_above="@id/selectBtn" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>and the Custom layout is,..</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
  &lt;TextView android:id="@+id/Name" android:layout_width="wrap_content"
      android:layout_height="wrap_content" android:layout_centerInParent="true" /&gt;
  &lt;TextView android:id="@+id/Number" android:layout_width="wrap_content"
      android:layout_height="wrap_content" android:layout_alignParentRight="true"
      android:layout_alignParentTop="true" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>In this i need to display the name and phone number in a single Gridview..</p>
  
  <p>Help me do get the Solution..</p>
  
  <p>Thanks in Advance..</p>