Android:textappearance to set the appearance of text. As "? Android:attr/textappearancelargeinverse" here refers to the system comes with an appearance,? Indicates whether the system has this appearance, otherwise the default appearance is used. The values you can set are as follows: textappearancebutton/textappearanceinverse/textappearancelarge/textappearancelargeinverse/ Textappearancemedium/textappearancemediuminverse/textappearancesmall/textappearancesmallinverse
Textview.getpaint (). SetFlags (Paint. Underline_text_flag); Underline
Textview.getpaint (). Setantialias (true);//anti-aliasing
Textview.getpaint (). SetFlags (Paint. Strike_thru_text_flag); Medium Dash
SetFlags (Paint. Strike_thru_text_flag| Paint.anti_alias_flag); Set the underline and add clarity
Textview.getpaint (). SetFlags (0); Set the dash to cancel
Title:
TextView set the dash line and anti-aliasing