From 8015b599af9141cf355df806e86800a60bc5582b Mon Sep 17 00:00:00 2001 From: Chilja Gossow <49635654+chiljamgossow@users.noreply.github.com> Date: Tue, 18 May 2021 12:27:03 +0200 Subject: [PATCH] Incognito mode for all edit text fields (EXPOSUREAPP-6596) (#3200) * add flag to all edit fields --- .../contact_diary_add_location_fragment.xml | 7 ++--- .../contact_diary_add_person_fragment.xml | 7 ++--- .../layout/rat_profile_create_fragment.xml | 28 +++++++++---------- 3 files changed, 20 insertions(+), 22 deletions(-) diff --git a/Corona-Warn-App/src/main/res/layout/contact_diary_add_location_fragment.xml b/Corona-Warn-App/src/main/res/layout/contact_diary_add_location_fragment.xml index efca1f88d..b7c82a8de 100644 --- a/Corona-Warn-App/src/main/res/layout/contact_diary_add_location_fragment.xml +++ b/Corona-Warn-App/src/main/res/layout/contact_diary_add_location_fragment.xml @@ -4,7 +4,6 @@ android:layout_height="match_parent" android:background="@color/colorBackground" android:fillViewport="true" - android:fitsSystemWindows="true" android:transitionName="contact_diary_shared_content"> <androidx.constraintlayout.widget.ConstraintLayout @@ -66,7 +65,7 @@ android:id="@+id/location_name_input_edit" android:layout_width="match_parent" android:layout_height="wrap_content" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoPersonalizedLearning" android:inputType="textCapWords" android:focusable="true" android:maxLength="250" /> @@ -92,7 +91,7 @@ android:id="@+id/location_phone_input" android:layout_width="match_parent" android:layout_height="wrap_content" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoPersonalizedLearning" android:inputType="phone" android:maxLength="250" /> @@ -115,7 +114,7 @@ android:id="@+id/location_email_input" android:layout_width="match_parent" android:layout_height="wrap_content" - android:imeOptions="actionDone" + android:imeOptions="actionDone|flagNoPersonalizedLearning" android:inputType="textEmailAddress" android:maxLength="250" /> diff --git a/Corona-Warn-App/src/main/res/layout/contact_diary_add_person_fragment.xml b/Corona-Warn-App/src/main/res/layout/contact_diary_add_person_fragment.xml index c77fce4ca..cd5fb2249 100644 --- a/Corona-Warn-App/src/main/res/layout/contact_diary_add_person_fragment.xml +++ b/Corona-Warn-App/src/main/res/layout/contact_diary_add_person_fragment.xml @@ -4,7 +4,6 @@ android:layout_height="match_parent" android:fillViewport="true" android:background="@color/colorBackground" - android:fitsSystemWindows="true" android:transitionName="contact_diary_shared_content"> <androidx.constraintlayout.widget.ConstraintLayout @@ -65,7 +64,7 @@ android:id="@+id/person_name_input" android:layout_width="match_parent" android:layout_height="wrap_content" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoPersonalizedLearning" android:inputType="textCapWords" android:focusable="true" android:maxLength="250" /> @@ -91,7 +90,7 @@ android:id="@+id/person_phone_number_input" android:layout_width="match_parent" android:layout_height="wrap_content" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoPersonalizedLearning" android:inputType="phone" android:maxLength="250" /> @@ -115,7 +114,7 @@ android:id="@+id/person_email_input" android:layout_width="match_parent" android:layout_height="wrap_content" - android:imeOptions="actionDone" + android:imeOptions="actionDone|flagNoPersonalizedLearning" android:inputType="textEmailAddress" android:maxLength="250" /> diff --git a/Corona-Warn-App/src/main/res/layout/rat_profile_create_fragment.xml b/Corona-Warn-App/src/main/res/layout/rat_profile_create_fragment.xml index 46a8837c3..275542e41 100644 --- a/Corona-Warn-App/src/main/res/layout/rat_profile_create_fragment.xml +++ b/Corona-Warn-App/src/main/res/layout/rat_profile_create_fragment.xml @@ -61,8 +61,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:imeOptions="actionNext" - android:inputType="textPersonName" /> + android:imeOptions="actionNext|flagNoPersonalizedLearning" + android:inputType="textPersonName|textCapWords" /> </com.google.android.material.textfield.TextInputLayout> @@ -84,8 +84,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:imeOptions="actionNext" - android:inputType="textPersonName" /> + android:imeOptions="actionNext|flagNoPersonalizedLearning" + android:inputType="textPersonName|textCapWords" /> </com.google.android.material.textfield.TextInputLayout> @@ -110,7 +110,7 @@ android:cursorVisible="false" android:focusable="true" android:focusableInTouchMode="false" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoPersonalizedLearning" android:inputType="date" /> </com.google.android.material.textfield.TextInputLayout> @@ -133,8 +133,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:imeOptions="actionNext" - android:inputType="text" /> + android:imeOptions="actionNext|flagNoPersonalizedLearning" + android:inputType="textCapWords" /> </com.google.android.material.textfield.TextInputLayout> @@ -155,8 +155,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:imeOptions="actionNext" - android:inputType="text" /> + android:imeOptions="actionNext|flagNoPersonalizedLearning" + android:inputType="number" /> </com.google.android.material.textfield.TextInputLayout> @@ -180,8 +180,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:imeOptions="actionNext" - android:inputType="text" /> + android:imeOptions="actionNext|flagNoPersonalizedLearning" + android:inputType="textCapWords" /> </com.google.android.material.textfield.TextInputLayout> @@ -203,7 +203,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoPersonalizedLearning" android:inputType="phone" /> </com.google.android.material.textfield.TextInputLayout> @@ -226,7 +226,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoPersonalizedLearning" android:inputType="textEmailAddress" /> </com.google.android.material.textfield.TextInputLayout> @@ -247,4 +247,4 @@ app:layout_constraintStart_toStartOf="parent" tools:enabled="false" /> -</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file +</androidx.constraintlayout.widget.ConstraintLayout> -- GitLab