title: EditText in TextInputLayout lagging
body: <p>I have two views using <code>TextInputLayout</code>. The first one is a login view which has only 2 input fields and the second one is a register view which has many input fields. I am using <code>TextInputLayout</code> and <code>EditText</code>/<code>AppCompatEditText</code> with custom themes for my inputs.<br>
  The problem is, when i click on my <code>EditText</code>'s in my Register screen i get a kind of lag/spikes on the default <code>TextInputLayout</code> animation. I don't get the lag in my <code>LoginScreen</code> but the code I'm using is quite the same, so i suppose the problem is in the number of inputs. Any idea or thoughts?<br>
  Here is my register code:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  tools:context=".activities.MainActivity"&gt;
  
  &lt;android.support.v7.widget.Toolbar
      android:id="@+id/toolbar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@color/colorPrimary"
      app:title="Register as shipper"
      app:titleTextColor="@color/white" /&gt;
  
  &lt;ScrollView
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:padding="@dimen/space"&gt;
  
          &lt;View
              android:layout_width="0px"
              android:layout_height="0px"
              android:focusable="true"
              android:focusableInTouchMode="true" /&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textColorHint="@color/hintTextOnLightBackgrounds"
              app:hintTextAppearance="@style/TextLabel"&gt;
  
              &lt;android.support.v7.widget.AppCompatEditText
                  android:id="@+id/fullNameEdit"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerVertical="true"
                  android:hint="@string/shipper_register_full_name"
                  android:inputType="text"
                  android:nextFocusLeft="@id/fullNameEdit"
                  android:nextFocusUp="@id/fullNameEdit"
                  android:theme="@style/EditText" /&gt;
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.design.widget.TextInputLayout
  
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textColorHint="@color/hintTextOnLightBackgrounds"
              app:hintTextAppearance="@style/TextLabel"&gt;
  
              &lt;android.support.v7.widget.AppCompatEditText
                  android:id="@+id/companyNameEdit"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerVertical="true"
                  android:hint="@string/shipper_register_company_name"
                  android:theme="@style/EditText" /&gt;
  
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textColorHint="@color/hintTextOnLightBackgrounds"
              app:hintTextAppearance="@style/TextLabel"&gt;
  
              &lt;android.support.v7.widget.AppCompatEditText
                  android:id="@+id/phoneNumberEdit"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerVertical="true"
                  android:hint="@string/shipper_register_phone_number"
                  android:theme="@style/EditText"
                  android:inputType="phone" /&gt;
  
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textColorHint="@color/hintTextOnLightBackgrounds"
              app:hintTextAppearance="@style/TextLabel"&gt;
  
              &lt;android.support.v7.widget.AppCompatEditText
                  android:id="@+id/emailEdit"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerVertical="true"
                  android:hint="@string/shipper_register_email"
                  android:theme="@style/EditText"
                  android:inputType="textEmailAddress" /&gt;
  
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textColorHint="@color/hintTextOnLightBackgrounds"
              app:hintTextAppearance="@style/TextLabel"&gt;
  
              &lt;android.support.v7.widget.AppCompatEditText
                  android:id="@+id/passwordEdit"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerVertical="true"
                  android:hint="@string/shipper_register_password"
                  android:theme="@style/EditText"
                  android:inputType="textPassword" /&gt;
  
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textColorHint="@color/hintTextOnLightBackgrounds"
              app:hintTextAppearance="@style/TextLabel"&gt;
  
              &lt;android.support.v7.widget.AppCompatEditText
                  android:id="@+id/addressEdit"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerVertical="true"
                  android:hint="@string/shipper_register_address"
                  android:theme="@style/EditText"
                  android:inputType="text" /&gt;
  
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.v7.widget.AppCompatSpinner
              android:id="@+id/typeSpinner"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginBottom="5dp"
              android:layout_marginTop="5dp" /&gt;
  
          &lt;Button
              android:id="@+id/registerBtn"
              android:layout_width="match_parent"
              android:layout_height="60dp"
              android:layout_marginBottom="5dp"
              android:layout_marginTop="@dimen/space"
              android:text="@string/shipper_register_register"
              android:theme="@style/ButtonPrimary" /&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>and the login:  </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:gravity="center"
  android:orientation="vertical"
  android:padding="@dimen/space"&gt;
  
  &lt;ImageView
      android:layout_width="wrap_content"
      android:layout_marginLeft="50dp"
      android:layout_marginRight="50dp"
      android:src="@drawable/logo_color"
      android:layout_height="wrap_content" /&gt;
  
  &lt;View
      android:layout_width="0px"
      android:layout_height="0px"
      android:focusable="true"
      android:focusableInTouchMode="true" /&gt;
  
  &lt;android.support.design.widget.TextInputLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:textColorHint="@color/hintTextOnLightBackgrounds"
      app:hintTextAppearance="@style/TextLabel"&gt;
  
      &lt;android.support.v7.widget.AppCompatEditText
          android:id="@+id/emailEdit"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:hint="@string/login_email"
          android:inputType="textEmailAddress"
          android:theme="@style/EditText" /&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  
  &lt;android.support.design.widget.TextInputLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:textColorHint="@color/hintTextOnLightBackgrounds"
      app:hintTextAppearance="@style/TextLabel"&gt;
  
      &lt;android.support.v7.widget.AppCompatEditText
          android:id="@+id/passwordEdit"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_centerVertical="true"
          android:hint="@string/login_password"
          android:inputType="textPassword"
          android:theme="@style/EditText" /&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  
  &lt;Button
      android:id="@+id/loginBtn"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="@string/login_login"
      android:theme="@style/ButtonPrimary" /&gt;
  
  &lt;Button
      android:id="@+id/shipperRegisterBtn"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="@string/login_register_as_shipper"
      android:theme="@style/ButtonPrimary" /&gt;
  
  &lt;Button
      android:id="@+id/carrierRegisterBtn"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="@string/login_register_as_carrier"
      android:theme="@style/ButtonPrimary" /&gt;
  </code></pre>
  
  <p></p>