Change single/multi line input dialogue behavior?

Post your questions and help other users.

Moderator: Martin

Post Reply
Christofer
Posts: 31
Joined: 27 May 2017 11:19

Change single/multi line input dialogue behavior?

Post by Christofer » 19 Apr 2018 08:44

I'm using single-line and multi-line input dialogs to write text messages. Is there any way for me to change their behavior to make them expect sentences? What I'm getting at is; they start off with the keyboard in lower case, and doesn't shift to an automatic upper case after a period. This is good for inputting variables, but not so much for regular messaging.

For example, the input dialog that appears when you rename a flow has the behavior I'm looking for.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Change single/multi line input dialogue behavior?

Post by Desmanto » 19 Apr 2018 17:04

It took a while for me to understand it. You just want the auto capitalization after full stop. Usually it is supported by the keyboard itself, but somehow some app can supress it (just like in Automagic). Maybe this should be requested as feature, to have addition workaround option in settings, where we can turn off the capitalization supression, so the keyboard can auto capitalize again after each full stop.

For mean while, there is another workaround using Control UI, when you can replace the first letter of the words after the full stop. But not the correct solution for this problem, it should be implemented built-in.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Christofer
Posts: 31
Joined: 27 May 2017 11:19

Re: Change single/multi line input dialogue behavior?

Post by Christofer » 19 Apr 2018 17:52

Sorry about the unclear description! Keeping my fingers crossed for a workaround to turn on/off the auto-capitalization

I'll attach an image with a better description of the issue. (Oh... I have used the words uppercase and lowercase in the image, but "auto-capitalization" is probably the right wording?)
Attachments
Input-dialogs.jpg
Input-dialogs.jpg (349.87 KiB) Viewed 12428 times

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Change single/multi line input dialogue behavior?

Post by Desmanto » 20 Apr 2018 17:39

Yep, that's what I've got. The feature should be implemented built-in, let's wait for Martin.

I have tried with regex and Control UI, the workaround is too awkward. The letters are replaced somewhat sporadic, probably because my limited regex skill. Too complicated to use it and not efficient. Should be better let Automagic turn off the Auto-capitalization supression instead.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Change single/multi line input dialogue behavior?

Post by Martin » 21 Apr 2018 12:26

Hi,

I can change the action so that the keyboard switches to capitalize the first character of each sentence. For backwards compatibility I'll introduce a new option in the action that will default to off so the action does not change automatically after the update.

Regards,
Martin

Christofer
Posts: 31
Joined: 27 May 2017 11:19

Re: Change single/multi line input dialogue behavior?

Post by Christofer » 22 Apr 2018 14:10

Sounds great, thanks!

Post Reply