Column size in Android GridView
<p>How to do diferent size columns in Android GridView.
I need one long fild for name and nine short for numbers.
 GridView XML:</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" &gt;

    &lt;GridView
        android:id="@+id/gridView1"
        android:layout_width="match_parent"
        android:layout_height="700dp"
        android:numColumns="10" &gt;
    &lt;/GridView&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p>Item XML:</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

 android:layout_width="match_parent"
 android:layout_height="match_parent"

 android:orientation="vertical"&gt;

&lt;EditText
    android:id="@+id/editText1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:layout_centerVertical="true"
   /&gt;

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