「Android開発」TextViewに下線、枠線を引く方法

TextView下線を付ける:
mTextView.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG|Paint.ANTI_ALIAS_FLAG);

TextView枠線を付ける:
mTextView.getPaint().setFlags(Paint.STRIKE_THRU_TEXT_FLAG|Paint.ANTI_ALIAS_FLAG);

Android

Posted by arkgame