Trimming profile names to fit byte budget and remove leading/trailing spaces.

This commit is contained in:
Alan Evans
2020-01-24 10:42:58 -05:00
committed by Greyson Parrelli
parent 7d15c602a6
commit e7f568e162
6 changed files with 84 additions and 52 deletions

View File

@@ -120,9 +120,9 @@
android:layout_marginTop="13dp"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:autofillHints="given-name"
android:hint="@string/CreateProfileActivity_first_name_required"
android:inputType="textPersonName"
android:maxLength="@integer/profile_name_part_max_length"
android:singleLine="true" />
<EditText
@@ -135,9 +135,9 @@
android:layout_marginTop="13dp"
android:layout_marginEnd="16dp"
android:layout_weight="1"
android:autofillHints="family-name"
android:hint="@string/CreateProfileActivity_last_name_optional"
android:inputType="textPersonName"
android:maxLength="@integer/profile_name_part_max_length"
android:singleLine="true" />
</LinearLayout>