I am developing and Android app that has a "fill in the blanks" activity. For that matter, I wish to have a TextView followed by an EditText followed by another TextView, to show something like:
Lorem ipsum dolor sit amet, consectetur ________ elit. Aliquam quis est ex. In maximus consectetur tortor, quis lacinia risus _______ eu. Etiam purus nulla, tincidunt ac mattis sit amet, lobortis non orci.
However, I'm unable to concatenate EditText at the end of a multi-line TextView, since the second line's width takes up the whole screen.
Does anyone have a suggestion on how to implement such feature?
A couple of workarounds that I though as plan B would be to have a multiline EditText where I programmatically prevent touches outside the area I want to edit or to have the "fill in the blank" indicated in the main text but a separate input to actually insert the text. But none of these actually please me.
Can anyone help with the original solution?