Есть ли способ добавить отступы для подсказки, когда вы нажимаете eddittext? Я попытался добавить отступы и поля как в edittext, так и в TextInputLayout.Слишком высокий уровень подсказки TextInputLayout
В настоящее время:
<android.support.design.widget.TextInputLayout
android:id="@+id/login_layout_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:layout_marginEnd="36dp"
android:layout_marginStart="36dp"
android:background="@color/color_line_transparent"
android:gravity="center"
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:theme="@style/TextLabel"
app:errorTextAppearance="@style/TextAppearance.Design.Error">
<EditText
android:id="@+id/login_input_email"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:hint="@string/hint_email"
android:inputType="textEmailAddress"
android:textColor="@color/color_text_login"
android:textSize="14sp" />
</android.support.design.widget.TextInputLayout>
Я сделал, как вы сказали. Я добавил RealtiveLayout, и теперь у меня есть только эти элементы. Каждое дополнение, поле, которое я дал ему в Relative Layout, теперь работает. Жаль, вы не можете просто добавить отступы. – WinterChilly