title: Prevent linearlayout pushing elements from its side in horizontal orientation
body: <p>I have a <code>LinearLayout</code> with orientation <code>horizontal</code> and I don't want my first <code>TextView</code> to push the other ones, this is my code</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      xmlns:tools="http://schemas.android.com/tools"
      android:weightSum="3"
      android:orientation="horizontal"&gt;
  
      &lt;CheckBox
          android:id="@+id/checkBox"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" /&gt;
  
      &lt;TextView
          android:id="@+id/item_name"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:text="TEST asdas asd" /&gt;
  
      &lt;TextView
          android:id="@+id/item_qty"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:layout_weight="1"
          android:text="Qty: 2" /&gt;
  
      &lt;TextView
          android:id="@+id/item_price"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:layout_weight="1"
          tools:text="$100.00"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <h2>Output</h2>
  
  <p>With not so much text it looks like this</p>
  
  <p><a href="https://i.stack.imgur.com/rVxD2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rVxD2.png" alt="enter image description here"></a></p>
  
  <p>But when the text increases there is a problem... the first <code>TextView</code> pushes all other text views and I want to keep the aspect of the first image if the first text just increases I want to give it a line and not push adjacent text.</p>
  
  <p><a href="https://i.stack.imgur.com/tuqgt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tuqgt.png" alt="enter image description here"></a></p>