title: LinearLayout adds unwanted top margin to Textview when text is wrapped
body: <p>I have a <strong>LinearLayout</strong> that shows a few Textview objects next to eachother.
  The middle two have width set to 0dp and both a weight of 1 and a fixed height of 22sdp</p>
  <p><strong>Whenever the Textview has text that needs to be wrapped, I get an unwatned margin which causes an ugly alignment with the other fields.</strong></p>
  <p>I tried changing the gravity of the Textview, setting Margin to 0dp manually but no result so far.
  (when I increase the weight until the textview has enough space to show the text in a single line everything is fine again, offcourse this is not a solution that I want)</p>
  <pre><code>&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  android:orientation=&quot;horizontal&quot;
  android:layout_width=&quot;match_parent&quot;
  android:layout_height=&quot;match_parent&quot;
  android:background=&quot;@color/lightTransparent&quot;
  &gt;
  
  &lt;TextView
      android:id=&quot;@+id/txtSlotName&quot;
      android:layout_width=&quot;@dimen/_80sdp&quot;
      android:layout_height=&quot;@dimen/_22sdp&quot;
      android:gravity=&quot;center_vertical&quot;
      android:paddingStart=&quot;@dimen/_4sdp&quot;
      android:text=&quot;Slot #1&quot;
      android:textColor=&quot;@color/softWhite&quot;
      android:textSize=&quot;@dimen/font_medium&quot;
     /&gt;
  &lt;TextView
      android:id=&quot;@+id/txtManagerName&quot;
      android:layout_width=&quot;0dp&quot;
      android:layout_weight=&quot;1&quot;
      android:layout_height=&quot;@dimen/_22sdp&quot;
      android:gravity=&quot;center_vertical&quot;
      android:paddingStart=&quot;@dimen/_4sdp&quot;
      android:text=&quot;Manager Name&quot;
      android:textColor=&quot;@color/softWhite&quot;
      android:textSize=&quot;@dimen/font_medium&quot;
      /&gt;
  &lt;TextView
      android:id=&quot;@+id/txtTeamName&quot;
      android:layout_width=&quot;0dp&quot;
      android:layout_weight=&quot;1&quot;
      android:layout_height=&quot;@dimen/_22sdp&quot;
      android:gravity=&quot;center_vertical&quot;
      android:paddingStart=&quot;@dimen/_4sdp&quot;
      android:text=&quot;Team Name Team Name Team Name Team Name&quot;
      android:textColor=&quot;@color/softWhite&quot;
      android:textSize=&quot;@dimen/font_medium&quot;
      /&gt;
  &lt;TextView
      android:id=&quot;@+id/txtGameDate&quot;
      android:layout_width=&quot;@dimen/_60sdp&quot;
      android:layout_height=&quot;@dimen/_22sdp&quot;
      android:gravity=&quot;center_vertical&quot;
      android:paddingStart=&quot;@dimen/_4sdp&quot;
      android:text=&quot;15 DEC 2021&quot;
      android:textColor=&quot;@color/softWhite&quot;
      android:textSize=&quot;@dimen/font_medium&quot;
      /&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/cTBIc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cTBIc.png" alt="The Textview gets a margin when it's wrapped" /></a></p>