Uniform text wrapping in TextView

前端 未结 6 1439
隐瞒了意图╮
隐瞒了意图╮ 2021-01-19 06:34

I need nice text wrapping in TextView, especially for text in headers.

Text wrapping for TextView might look like this, where the last word is in new line:



        
6条回答
  •  难免孤独
    2021-01-19 07:29

    There is an open source project in Github AutoFittextView and in BitBucket AutoScaletextView.

    You can change according to your requirement.

    I tried the AutoScaleTextview and reached to the below OutPut.

    enter image description here

    Hope this will help you.

提交回复
热议问题