Customizing Text in Android Edit Text
I am trying to create an EditText which allows users to specifically put in typef开发者_Python百科aces like bold, italic, underline to specific portions of the text. How should I actually have it coded? How can properly save the changes then? Will it be something like in html with the tags?
Take a look at Spanned interface and android.text.style package.
This "Common Task" will be helpful too: Selecting, Highlighting, or Styling Portions of Text.
精彩评论