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

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


        
13条回答
  •  感情败类
    2020-12-24 11:14

    You can add a HAIR SPACE to your string

    
    
    String hairSpace = getContext().getString(R.string.hair_space);
    textView.setText(hairSpace + originalString + hairSpace)
    

提交回复
热议问题