title: Auto ajust and fit width items on using weight
body: <p><strong>THE PROBLEM:</strong></p>
  
  <p>I have to display multiples rows.
  Each row has an internal weight: the description has a specific weight, the price, and so on.</p>
  
  <p>In the following pictures, you can see two kind of screenshot. The first one shows each row perfectly.</p>
  
  <p>The second one, some prices not fit correctly.</p>
  
  <p><strong>Picture 1:</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/BtPfL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BtPfL.png" alt="Screenshot 1"></a></p>
  
  <p><strong>Picture 2:</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/Ob182.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ob182.png" alt="Screenshot 2"></a></p>
  
  <p>This my row:</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="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginBottom="8dp"
      android:background="@color/blanco"
      android:orientation="horizontal"
      android:paddingBottom="8dp"
      android:paddingTop="8dp"
      android:weightSum="1"&gt;
  
      &lt;LinearLayout
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_marginLeft="8dp"
          android:layout_weight="0.7"
          android:orientation="vertical"&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_gravity="left"
  
              android:gravity="left|center_vertical"
              android:orientation="horizontal"&gt;
  
              &lt;TextView
                  android:id="@+id/txtDescription"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:layout_gravity="center_horizontal"
                  android:fontFamily="sans-serif-light"
                  android:gravity="center_vertical"
                  android:textColor="@color/blue"
                  android:textSize="16sp"
                  android:textStyle="bold" /&gt;
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_gravity="left"
  
              android:gravity="left|center_vertical"
              android:orientation="horizontal"&gt;
  
              &lt;TextView
                  android:id="@+id/txtDate"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:layout_gravity="center_horizontal"
                  android:fontFamily="sans-serif-light"
                  android:gravity="center_vertical"
                  android:paddingRight="15dp"
                  android:textColor="@color/blue"
                  android:textSize="16sp" /&gt;
  
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_gravity="left|center_vertical"
          android:layout_weight="0.3"
          android:gravity="right|center_vertical"
          android:orientation="horizontal"&gt;
  
          &lt;ImageView
              android:id="@+id/img"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:layout_gravity="center_vertical"
              android:gravity="center_vertical|right"
              android:maxHeight="24dp"
              android:maxWidth="24dp" /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="right|center_vertical"
              android:fontFamily="sans-serif-light"
              android:gravity="center_vertical|right"
              android:text="$"
              android:textColor="@color/blue"
              android:textSize="14sp" /&gt;
  
          &lt;TextView
              android:id="@+id/txtPrice"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:layout_gravity="right"
              android:fontFamily="sans-serif-light"
              android:gravity="center_vertical|right"
              android:textColor="@color/blue"
              android:textSize="16sp"
              android:textStyle="bold" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>WHAT I NEED:</strong></p>
  
  <p>Is there any possibility to auto adjust the prices? </p>
  
  <ul>
  <li>May be change the size of the text.</li>
  <li>May be change the weight automatically.</li>
  </ul>
  
  <p>¿What is the <strong>best practice</strong> for soliving this kind of problem? Changing the size I really don't like because will be some text with one size and text with other size</p>