title: Alignment issues with gridlayout containing images
body: <pre><code>Android Studio 1.2
  </code></pre>
  
  <p>Hello,</p>
  
  <p>I am trying to get this alignment correct to the following wireframe.</p>
  
  <p><img src="https://i.stack.imgur.com/vwQ1n.png" alt="enter image description here"></p>
  
  <p>I am only using gridlayout for this and don't want to use linear or relative layout or nested layouts.</p>
  
  <p>I have gotten it close using the following xml. Just need some help with some final touches to make it look perfect.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="?android:attr/listPreferredItemHeightLarge"
      android:columnCount="6"
      android:orientation="horizontal"
      android:padding="6dp"&gt;
  
      &lt;TextView
          android:id="@+id/tvDate"
          android:layout_gravity="start"
          android:text="16 Mar 2015"
          android:textSize="18sp"/&gt;
  
      &lt;TextView
          android:id="@+id/tvCorrectTxt"
          android:layout_gravity="end"
          android:layout_columnSpan="2"
          android:text="Correct 20"
          android:textSize="18sp"/&gt;
  
      &lt;ImageView
          android:id="@+id/ivCorrect"
          android:layout_columnSpan="2"
          android:layout_gravity="top"
          android:src="@drawable/ic_action_good"/&gt;
  
      &lt;ImageView
          android:id="@+id/ivArrow"
          android:layout_rowSpan="2"
          android:layout_gravity="center"
          android:src="@drawable/ic_action_next_item"/&gt;
  
      &lt;TextView
          android:id="@+id/tvTime"
          android:layout_gravity="start|bottom"
          android:text="22:15"
          android:textSize="18sp"/&gt;
  
      &lt;TextView
          android:id="@+id/tvIncorrect"
          android:layout_gravity="end|bottom"
          android:layout_columnSpan="2"
          android:text="Incorrect 18"
          android:textSize="18sp"/&gt;
  
      &lt;ImageView
          android:id="@+id/ivIncorrect"
          android:layout_gravity="bottom"
          android:src="@drawable/ic_action_bad"/&gt;
  
  &lt;/GridLayout&gt;
  </code></pre>
  
  <p>Many thanks for any suggestions,</p>