30 lines
1 KiB
XML
30 lines
1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="?dialogPreferredPadding">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/input_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:errorEnabled="true">
|
|
|
|
<EditText
|
|
android:padding="16dp"
|
|
android:id="@+id/input_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10"
|
|
android:inputType="textPersonName">
|
|
|
|
<requestFocus />
|
|
</EditText>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
</layout> |