Italic TextView with wrap_contents seems to clip the text at right edge

前端 未结 13 1369
孤独总比滥情好
孤独总比滥情好 2020-12-24 10:22


        
13条回答
  •  南笙
    南笙 (楼主)
    2020-12-24 11:21

    It seems to me that if you apply italic programatically, it does content wrapping correctly. So set the typeface of the TextView manually, e.g. in kotlin:

    textView.typeface = Typeface.create(Typeface.DEFAULT, Typeface.ITALIC)
    

提交回复
热议问题