Browse Source

Prevent entering newlines

main
M66B 6 years ago
parent
commit
143c7c7690
2 changed files with 5 additions and 5 deletions
  1. +4
    -4
      app/src/main/res/layout/fragment_compose.xml
  2. +1
    -1
      app/src/main/res/layout/item_attachment.xml

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

@ -31,7 +31,7 @@
android:layout_marginStart="6dp"
android:hint="@string/title_to"
android:inputType="textEmailAddress"
android:maxLines="1"
android:singeLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@+id/ivToAdd"
app:layout_constraintStart_toStartOf="parent"
@ -56,7 +56,7 @@
android:layout_marginStart="6dp"
android:hint="@string/title_cc"
android:inputType="textEmailAddress"
android:maxLines="1"
android:singeLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@+id/ivCcAdd"
app:layout_constraintStart_toStartOf="parent"
@ -81,7 +81,7 @@
android:layout_marginStart="6dp"
android:hint="@string/title_bcc"
android:inputType="textEmailAddress"
android:maxLines="1"
android:singeLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@+id/ivBccAdd"
app:layout_constraintStart_toStartOf="parent"
@ -107,7 +107,7 @@
android:layout_marginStart="6dp"
android:hint="@string/title_subject"
android:inputType="textEmailSubject"
android:maxLines="1"
android:singeLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"


+ 1
- 1
app/src/main/res/layout/item_attachment.xml View File

@ -20,7 +20,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:ellipsize="marquee"
android:singleLine="true"
android:maXlines="1"
android:text="Name"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintBottom_toBottomOf="@id/ivAttachments"


Loading…
Cancel
Save