Android Gridview with ImageButtons and TextViews. Items in gridview not lining up <p>I've got a view that has a GridView with Image Buttons and Textviews but whenever the textviews that are multi line the items are not lining up as shown below. I could set the TextView as </p> <pre><code>android:singleLine="true" </code></pre> <p>But I prefer not to. </p> <p><a href="https://i.stack.imgur.com/1DZzz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1DZzz.png" alt="enter image description here"></a></p> <p>GridView code :</p> <pre><code> &lt;GridView android:id="@+id/gridview" android:layout_width="fill_parent" android:layout_height="match_parent" android:columnWidth="90dp" android:numColumns="auto_fit" android:layout_marginRight="10dp" android:layout_marginLeft="10dp" android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:verticalSpacing="10dp" android:horizontalSpacing="10dp" android:stretchMode="columnWidth" android:gravity="center" android:layout_weight="1" /&gt; </code></pre> <p>Template for ImageButton and TextView called by BaseAdapter : </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"&gt; &lt;ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10dp" android:layout_marginLeft="10dp" android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:id="@+id/MainMenuImageButton" android:layout_alignParentRight="true" android:scaleType="fitCenter" /&gt; &lt;TextView android:id="@+id/MainMenuTextView" android:layout_width="match_parent" android:layout_height="wrap_content" android:fontFamily="trebuchet" android:layout_marginLeft="10dp" android:textColor="@android:color/black" android:singleLine="true" android:textSize="15sp" android:textStyle="bold" /&gt; &lt;/LinearLayout&gt; </code></pre> <p>If you have a suggestion I'd appreciate it. Thank you.</p>