Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TextView and Edit Text #72

Open
nagaprakash2020 opened this issue Feb 5, 2016 · 2 comments
Open

Support for TextView and Edit Text #72

nagaprakash2020 opened this issue Feb 5, 2016 · 2 comments

Comments

@nagaprakash2020
Copy link

I tried your library with combination of TextViews and Edit Texts. TextView spans multiple lines followed by Edit Text and this can be followed by another Edit Text or Text View.

Example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus sed elit elementum, maximus tortor id, vulputate urna. Ut ultricies magna vel leo pretium rhoncus. __________________ Lorem ipsum dolor sit amet, consectetur _____________ __________________.

That is what I am trying to achieve. Do you think that can be done using your library ?

@DavidDTA
Copy link

DavidDTA commented Feb 5, 2016

I expect that what you're seeing is something like

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus sed elit elementum, maximus tortor id, vulputate urna. Ut ultricies magna vel leo pretium rhoncus.
__________________ Lorem ipsum dolor sit amet, consectetur _____________ __________________.

with an unexpected line break after rhoncus. If that's the case, what's happening is that the entire TextView is being laid out as a block, and the EditText is wrapping since the block fills the entire line. The issue can be avoided by splitting up the TextView into many smaller ones with one word each. This allows the FlowLayout to work with many small rectangles rather than one big one.

@nagaprakash2020
Copy link
Author

That is a good idea. I will try it. Thanks for your quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants