How do I prevent an EditText from resizing itself when the user is typing?

前端 未结 10 2002
粉色の甜心
粉色の甜心 2021-01-30 16:18

I have an EditText and a Button set next to each other on the same horizontal line. It looks great, except when the user enters a lot of text, the

10条回答
  •  一个人的身影
    2021-01-30 16:51

    I had a similar problem, but I couldn't get the above to work. What I did, is take in the text from EditText box and then format it down to the max size that my screen could handle. When I save this off to the DB, I will save it as display Text and original text.

    If you go to this page I put a longer explanation.

提交回复
热议问题