开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜