From 1146117e57a88ce089ad051304b382f8017f35f5 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 30 Apr 2019 19:13:03 +0200 Subject: [PATCH] Explicitly enable auto correct --- app/src/main/res/layout/fragment_account.xml | 2 +- app/src/main/res/layout/fragment_answer.xml | 4 ++-- app/src/main/res/layout/fragment_compose.xml | 4 ++-- app/src/main/res/layout/fragment_identity.xml | 2 +- app/src/main/res/layout/fragment_rule.xml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/fragment_account.xml b/app/src/main/res/layout/fragment_account.xml index db64b2054b..98e09b4923 100644 --- a/app/src/main/res/layout/fragment_account.xml +++ b/app/src/main/res/layout/fragment_account.xml @@ -308,7 +308,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/title_optional" - android:inputType="textCapSentences" + android:inputType="textCapSentences|textAutoCorrect" android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvNameRemark" /> diff --git a/app/src/main/res/layout/fragment_answer.xml b/app/src/main/res/layout/fragment_answer.xml index 86b42753f2..0d26e737ef 100644 --- a/app/src/main/res/layout/fragment_answer.xml +++ b/app/src/main/res/layout/fragment_answer.xml @@ -15,7 +15,7 @@ android:layout_marginEnd="6dp" android:hint="@string/title_answer_name" android:imeOptions="actionNext" - android:inputType="textCapSentences" + android:inputType="textCapSentences|textAutoCorrect" android:textAppearance="@style/TextAppearance.AppCompat.Small" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -49,7 +49,7 @@ android:gravity="top" android:hint="@string/title_answer_text" android:imeOptions="actionDone" - android:inputType="textCapSentences|textMultiLine" + android:inputType="textCapSentences|textMultiLine|textAutoCorrect" android:textAppearance="@style/TextAppearance.AppCompat.Small" app:layout_constraintBottom_toTopOf="@+id/vSeparatorHints" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/fragment_compose.xml b/app/src/main/res/layout/fragment_compose.xml index dce24e06d1..2e20a4d604 100644 --- a/app/src/main/res/layout/fragment_compose.xml +++ b/app/src/main/res/layout/fragment_compose.xml @@ -137,7 +137,7 @@ android:layout_marginEnd="6dp" android:hint="@string/title_subject" android:imeOptions="actionNext" - android:inputType="textEmailSubject|textCapSentences" + android:inputType="textEmailSubject|textCapSentences|textAutoCorrect" android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -193,7 +193,7 @@ android:fontFamily="monospace" android:gravity="top" android:hint="@string/title_body_hint" - android:inputType="textCapSentences|textMultiLine" + android:inputType="textCapSentences|textMultiLine|textAutoCorrect" android:minHeight="120dp" android:textAppearance="@style/TextAppearance.AppCompat.Small" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/fragment_identity.xml b/app/src/main/res/layout/fragment_identity.xml index 804db3523a..14d2a37c2f 100644 --- a/app/src/main/res/layout/fragment_identity.xml +++ b/app/src/main/res/layout/fragment_identity.xml @@ -156,7 +156,7 @@ android:layout_height="wrap_content" android:fontFamily="monospace" android:hint="@string/title_optional" - android:inputType="textCapSentences|textMultiLine" + android:inputType="textCapSentences|textMultiLine|textAutoCorrect" android:textAppearance="@style/TextAppearance.AppCompat.Small" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/fragment_rule.xml b/app/src/main/res/layout/fragment_rule.xml index 3b55a919e8..d35a05e2ab 100644 --- a/app/src/main/res/layout/fragment_rule.xml +++ b/app/src/main/res/layout/fragment_rule.xml @@ -45,7 +45,7 @@ android:id="@+id/etName" android:layout_width="0dp" android:layout_height="wrap_content" - android:inputType="textCapSentences" + android:inputType="textCapSentences|textAutoCorrect" android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -255,7 +255,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:hint="@string/title_optional" - android:inputType="text" + android:inputType="textCapSentences|textAutoCorrect" android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"