<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
LinearLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:orientation
=
"vertical"
tools:context
=
".MainActivity"
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTILName"
style
=
"@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"20dp"
android:layout_marginTop
=
"100dp"
android:layout_marginEnd
=
"20dp"
android:hint
=
"Enter your name"
android:padding
=
"5dp"
android:textColorHint
=
"@color/black"
app:hintTextColor
=
"@color/black"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtName"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"text"
android:textColor
=
"@color/black"
android:textColorHint
=
"@color/black"
android:textSize
=
"14sp"
/>
</
com.google.android.material.textfield.TextInputLayout
>
<
com.google.android.material.textfield.TextInputLayout
android:id
=
"@+id/idTiLAge"
style
=
"@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_margin
=
"20dp"
android:hint
=
"Enter your age"
android:padding
=
"5dp"
android:textColorHint
=
"@color/black"
app:hintTextColor
=
"@color/black"
>
<
com.google.android.material.textfield.TextInputEditText
android:id
=
"@+id/idEdtAge"
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:ems
=
"10"
android:importantForAutofill
=
"no"
android:inputType
=
"phone"
android:textColor
=
"@color/black"
android:textColorHint
=
"@color/black"
android:textSize
=
"14sp"
/>
</
com.google.android.material.textfield.TextInputLayout
>
</
LinearLayout
>