agwells / dotdash-keyboard-android

The world's most popular open source Morse code keyboard for Android! (probably)
GNU General Public License v3.0
32 stars 4 forks source link

Show code-group-in-progress as composer text in the text area, rather than showing it on the space bar #22

Open agwells opened 8 years ago

agwells commented 8 years ago

It was easiest for me to put the code group in progress, on the spacebar. But in practice, your fingers are always over the space bar as you type, so that gets in the way of actually seeing what you've typed so far. And it takes your eyes away from the text you're typing.

A good alternative to this might be to use some of the keyboard display options that are normally intended for spell-checking and auto-complete:

  1. As you type in a code group, I show the code group in the text area, highlighted, as if it were a word that you're typing which you're getting auto-correct suggestions for. When you submit the code group, this would go away.
  2. As you type in a code group, I show the code group in the auto-correct suggestions bar (often an orange bar just above the keyboard).

With either of these I might also display the current character you've typed.

The downside is that this might make execution slower (and more resource-intensive), which goes against one of the main purposes of DotDash. So I might have an option to turn this off. And also, if I go with option #1, would I get into problems with length-limited input fields? (i.e. you've type 9 characters into a field that allows 10 characters. It'll take you several ditdahs to type that last character. Does Android let you do that?)