From bb68c2345cc4551baa543b23f457754bf0e676f3 Mon Sep 17 00:00:00 2001 From: VishnuSanal Date: Mon, 7 Mar 2022 16:49:36 +0530 Subject: [PATCH] change cap words to cap sentences --- .../com/amaze/filemanager/ui/dialogs/GeneralDialogCreation.java | 2 +- app/src/main/res/layout/dialog_encrypt_authenticate.xml | 2 +- app/src/main/res/layout/dialog_singleedittext.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/amaze/filemanager/ui/dialogs/GeneralDialogCreation.java b/app/src/main/java/com/amaze/filemanager/ui/dialogs/GeneralDialogCreation.java index c5de8ab080..c57ea5f3ba 100644 --- a/app/src/main/java/com/amaze/filemanager/ui/dialogs/GeneralDialogCreation.java +++ b/app/src/main/java/com/amaze/filemanager/ui/dialogs/GeneralDialogCreation.java @@ -1124,7 +1124,7 @@ public static void showCompressDialog( EditText etFilename = dialogView.findViewById(R.id.singleedittext_input); etFilename.setHint(R.string.enterzipname); etFilename.setText(".zip"); // TODO: Put the file/folder name here - etFilename.setInputType(InputType.TYPE_TEXT_FLAG_CAP_WORDS); + etFilename.setInputType(InputType.TYPE_TEXT_FLAG_CAP_SENTENCES); etFilename.setSingleLine(); WarnableTextInputLayout tilFilename = dialogView.findViewById(R.id.singleedittext_warnabletextinputlayout); diff --git a/app/src/main/res/layout/dialog_encrypt_authenticate.xml b/app/src/main/res/layout/dialog_encrypt_authenticate.xml index 6726ac1035..ba88df87fc 100644 --- a/app/src/main/res/layout/dialog_encrypt_authenticate.xml +++ b/app/src/main/res/layout/dialog_encrypt_authenticate.xml @@ -50,7 +50,7 @@ android:ems="10" android:id="@+id/edit_text_encrypt_save_as" android:layout_gravity="center_vertical" - android:inputType="textCapWords" /> + android:inputType="textCapSentences" /> \ No newline at end of file diff --git a/app/src/main/res/layout/dialog_singleedittext.xml b/app/src/main/res/layout/dialog_singleedittext.xml index 3f06a75703..9f7b3eca8c 100644 --- a/app/src/main/res/layout/dialog_singleedittext.xml +++ b/app/src/main/res/layout/dialog_singleedittext.xml @@ -17,7 +17,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:ems="10" - android:inputType="textCapWords|textMultiLine" /> + android:inputType="textCapSentences|textMultiLine" /> \ No newline at end of file