我将左侧drawable添加到TextInputLayout,现在提示向右移动。它应该在行的开头。
<android.support.design.widget.TextInputLayout
android:id="@+id/edit_layout_currency"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/edit_layout_date_of_birth"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
app:errorEnabled="true">
<android.support.design.widget.TextInputEditText
android:id="@+id/edit_text_currency"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:enabled="false"
android:hint="@string/registration_currency"
android:inputType="text"
android:maxLength="10"
android:maxLines="1"
android:textColor="@color/color_edit_text"
android:textSize="16sp"/>
</android.support.design.widget.TextInputLayout>