EditText resizing for no reason
<p>Observing rather strange behavior in relative layout. </p>

<p>This is the initial state:
<img src="http://i.stack.imgur.com/IP2v9.png" alt="enter image description here"></p>

<p>Defined as:</p>

<pre><code>&lt;EditText
    android:id="@+id/bleedCount"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_toLeftOf="@+id/abrMult"
    android:layout_below="@+id/textView4"
    android:layout_marginRight="10dp"
    android:ems="10"
    android:inputType="number"
    &gt;
    &lt;requestFocus /&gt;
&lt;/EditText&gt;

&lt;TextView
    android:id="@+id/abrMult"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_toLeftOf="@+id/abrSubmit"
    android:layout_alignBaseline="@+id/abrSubmit"
    android:layout_marginRight="10dp"
    android:text="x12" /&gt;

&lt;Button
    android:id="@+id/abrSubmit"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@+id/textView4"
    android:layout_alignParentRight="true"
    android:text="Calculate" /&gt;
</code></pre>

<p>On <code>onItemSelected</code> from the dropdown it is being changed like this:</p>

<pre><code>abrSubmit.setText(pos == 1 ? "Calculate" : "Submit");
abrMult.setVisibility(pos == 1 ? View.VISIBLE : View.GONE);
bleedCount.setHint(pos == 1 ? "# of Meow/month" : "# of Meow/year");
</code></pre>

<p>and turns into this:<br>
<img src="http://i.stack.imgur.com/2mKCs.png" alt="enter image description here"></p>

<p>Notice how EditText <code>bleedCount</code> is way taller on the second picture. The value of <code>bleedCount.getHeight()</code> is changing from 72 to 95, and I can't understand what is causing it.</p>
