Skip to content

Commit

Permalink
Forbid newlines in alarm message
Browse files Browse the repository at this point in the history
  • Loading branch information
WrichikBasu committed Jan 28, 2021
1 parent f6d4a85 commit 446f579
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand All @@ -13,7 +12,7 @@
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:gravity="left"
android:gravity="start"
android:text="@string/message_label"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -29,9 +28,9 @@
android:ems="10"
android:textColor="@color/defaultLabelColor"
android:maxLength="50"
android:inputType="textPersonName|textAutoCorrect|textCapSentences|textMultiLine"
android:inputType="textPersonName|textAutoCorrect|textCapSentences"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView19"/>
app:layout_constraintTop_toBottomOf="@+id/textView19" />

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 446f579

Please sign in to comment.