Browse Source

Word wrap addresses and subject

Who had though to set singleLine="true" and inputType="textMultiLine" ??
main
M66B 6 years ago
parent
commit
36416a26b1
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      app/src/main/res/layout/fragment_compose.xml

+ 4
- 4
app/src/main/res/layout/fragment_compose.xml View File

@ -30,7 +30,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="6dp" android:layout_marginStart="6dp"
android:hint="@string/title_to" android:hint="@string/title_to"
android:inputType="textEmailAddress"
android:inputType="textEmailAddress|textMultiLine"
android:singleLine="true" android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@+id/ivToAdd" app:layout_constraintEnd_toStartOf="@+id/ivToAdd"
@ -55,7 +55,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="6dp" android:layout_marginStart="6dp"
android:hint="@string/title_cc" android:hint="@string/title_cc"
android:inputType="textEmailAddress"
android:inputType="textEmailAddress|textMultiLine"
android:singleLine="true" android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@+id/ivCcAdd" app:layout_constraintEnd_toStartOf="@+id/ivCcAdd"
@ -80,7 +80,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="6dp" android:layout_marginStart="6dp"
android:hint="@string/title_bcc" android:hint="@string/title_bcc"
android:inputType="textEmailAddress"
android:inputType="textEmailAddress|textMultiLine"
android:singleLine="true" android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@+id/ivBccAdd" app:layout_constraintEnd_toStartOf="@+id/ivBccAdd"
@ -106,7 +106,7 @@
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:layout_marginStart="6dp" android:layout_marginStart="6dp"
android:hint="@string/title_subject" android:hint="@string/title_subject"
android:inputType="textEmailSubject|textCapSentences"
android:inputType="textEmailSubject|textCapSentences|textMultiLine"
android:singleLine="true" android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"


Loading…
Cancel
Save