How to wrap text in textview in Android

前端 未结 18 1145
旧巷少年郎
旧巷少年郎 2020-12-08 18:03

Does any one know how to wrap text in TextView in Android platform. i.e if the text in textview exceed the screen length it should be displayed in the second line.

I

18条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 18:49

    In Android Studio 2.2.3 under the inputType property there is a property called textMultiLine. Selecting this option sorted out a similar problem for me. I hope that helps.

提交回复
热议问题