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

前端 未结 13 1264
孤独总比滥情好
孤独总比滥情好 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)
    
    0 讨论(0)
提交回复
热议问题