title: How to align two TextViews within LinearLayout cell?
body: <p>I have a vertical list (vertical LinearLayout). Within Each cell I have two EditText fields, next to each other. The first should be aligned to the left of the cell, the second aligned to the middle of the cell, basically resulting in two columns next to each other. I thought I used a two column GridLayout. To my surprise however, the second EditText is aligned to the right of the cell rather than the middle of the cell. What do I wrong?</p>
  
  <pre><code>    &lt;GridLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:alignmentMode="alignBounds"
      android:columnCount="2" &gt;
  
      &lt;TextView
          android:id="@+id/sourceLanguage"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="left|center_vertical"
          android:text="test1"
          android:textAppearance="?android:attr/textAppearanceMedium"
          android:textColor="#FF3366"
          android:textIsSelectable="true" /&gt;
  
      &lt;TextView
          android:id="@+id/targetLanguage"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="right"
          android:gravity="left|center_vertical"
          android:text="test2"
          android:textAppearance="?android:attr/textAppearanceMedium"
          android:textColor="#993366"
          android:textIsSelectable="true" /&gt;
  
  &lt;/GridLayout&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/6vOW1.png" alt="enter image description here">
  Almost there, but not quit... besides the second column is not exactly left-aligned.</p>
  
  <p>Here is the desired result!!!</p>
  
  <p><img src="https://i.stack.imgur.com/NxXGx.png" alt="enter image description here"></p>