I want to apply the Text Formatting Options to the EditText. I am able to apply all the formating such as Bold, Italic, Underline, Strike-Through, BulletPoint when the text is selected. But, I want to apply the formatting to the future text that the user will type.
I used the mEditText.setTypeface(null, Typeface.BOLD)
/ mEditText.setTypeface(null, Typeface.ITATIC)
, but it makes entire EditText Bold / Italic.
I want to make it Bold / Italic only to the text that will be typed after Bold / Italic button is clicked.
There are some similar questions but none of them have the answers to it.