Android TextView 下划线,删除线
Android About 320 words设置线条
textView.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG ); //下划线
textView.getPaint().setAntiAlias(true);//抗锯齿
textview.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG); //删除线
textview.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG|Paint.ANTI_ALIAS_FLAG); // 设置删除线并加清晰
取消设置的的划线
textView.getPaint().setFlags(0);
Views: 4,839 · Posted: 2019-04-09
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓

Loading...