| android Programming Glossary: str.setspanMultiple TypeFace in single TextView http://stackoverflow.com/questions/10675070/multiple-typeface-in-single-textview  second character with a different Type face and so on. I read this example Spannable str Spannable textView.getText str.setSpan new StyleSpan android.graphics.Typeface.ITALIC 0 7   Spannable.SPAN_EXCLUSIVE_EXCLUSIVE but it didn't help me because I.. 
 Is it possible to have multiple styles inside a TextView? http://stackoverflow.com/questions/1529068/is-it-possible-to-have-multiple-styles-inside-a-textview  the EditText's internal text storage Spannable str vw.getText Create our span sections and assign a format to each. str.setSpan new StyleSpan android.graphics.Typeface.ITALIC 0 7 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE str.setSpan new BackgroundColorSpan.. a format to each. str.setSpan new StyleSpan android.graphics.Typeface.ITALIC 0 7 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE str.setSpan new BackgroundColorSpan 0xFFFFFF00 8 19 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE str.setSpan new StyleSpan android.graphics.Typeface.BOLD.. str.setSpan new BackgroundColorSpan 0xFFFFFF00 8 19 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE str.setSpan new StyleSpan android.graphics.Typeface.BOLD 21 str.length 1 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE But that uses explicit position.. 
 Is there any example about Spanned and Spannable text http://stackoverflow.com/questions/2159847/is-there-any-example-about-spanned-and-spannable-text  in an EditText into Italic Spannable str mBodyText.getText if mBodyText.getSelectionEnd mBodyText.getSelectionStart str.setSpan new StyleSpan android.graphics.Typeface.ITALIC  mBodyText.getSelectionStart mBodyText.getSelectionEnd  Spannable.SPAN_EXCLUSIVE_EXCLUSIVE..  mBodyText.getSelectionStart mBodyText.getSelectionEnd  Spannable.SPAN_EXCLUSIVE_EXCLUSIVE else str.setSpan new StyleSpan android.graphics.Typeface.ITALIC  mBodyText.getSelectionEnd  mBodyText.getSelectionStart Spannable.SPAN_EXCLUSIVE_EXCLUSIVE.. 
 |