I am trying to make a sentence-filling like interface, where I can have TextView
s and EditText
s mixed arbitrarily in a paragraph.
I have had a look at this question, but the problem was that when I have [ TextView1
, EditText
, TextView2
] and the content of TextView1
consumes 1 full line and 1 fifth of the second line, then TextView1
will have to span the entire width because it is a rectangle. This pushes EditText
to the next line, which is ugly.
So is it possible to create such kind of ViewGroup/Layout from existing stuff in Android, or I'd have to make a custom View
from scratch?
In case I'm too bad at explaining, this screenshot describes my problem:
Thank you very much.