<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="@dimen/textinput_container_height"
app:errorEnabled="true"
app:errorTextAppearance="@style/TextAppearance.AppCompat.Small.ErrorStyle"
tools:hint="@string/ip_printers">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="-5dp"
app:errorTextAppearance="@style/TextAppearance.AppCompat.Small.ErrorStyle"
tools:text="1234567890" />
</android.support.design.widget.TextInputLayout>
This my code. How I can remove padding to error text? img with error img with error