Use textinputlayout to match other setup screens
android:layout_gravity="center_horizontal|center_vertical"
android:orientation="vertical">
- <EditText
+ <com.google.android.material.textfield.TextInputLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <com.google.android.material.textfield.TextInputEditText
android:id="@+id/account_description"
- android:singleLine="true"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
android:hint="@string/account_setup_names_account_name_label"
- android:contentDescription="@string/account_setup_names_account_name_label"/>
+ android:singleLine="true"/>
+ </com.google.android.material.textfield.TextInputLayout>
+
+ <com.google.android.material.textfield.TextInputLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
- <EditText
+ <com.google.android.material.textfield.TextInputEditText
android:id="@+id/account_name"
- android:singleLine="true"
- android:inputType="textPersonName"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
android:hint="@string/account_setup_names_user_name_label"
- android:contentDescription="@string/account_setup_names_user_name_label"/>
+ android:singleLine="true"
+ android:inputType="textPersonName"/>
+ </com.google.android.material.textfield.TextInputLayout>
<View
android:layout_height="0dip"
