Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
fix #48, implement underline for NText
Browse files Browse the repository at this point in the history
  • Loading branch information
longerian committed Mar 30, 2018
1 parent b0cc025 commit 7ed87d6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ public void onParseValueFinished() {
if (0 != (mTextStyle & TextBaseCommon.STRIKE)) {
flag |= Paint.STRIKE_THRU_TEXT_FLAG;
}
if (0 != (mTextStyle & TextBaseCommon.UNDERLINE)) {
flag |= Paint.UNDERLINE_TEXT_FLAG;
}
mNative.setPaintFlags(flag);

if (0 != (mTextStyle & TextBaseCommon.ITALIC)) {
Expand Down

0 comments on commit 7ed87d6

Please sign in to comment.