I do something similar to a text editor. It is necessary to implement text formatting (bold, italic, underline). Can be selected as one component or all at once. The style should be applied to all text in editText. The server is waiting for me Html.
I made a popupMenu in which the points are bold, italic and underlined. How do I implement the formation of html by clicking on the menu items?
PS tried to shove html tags into resources, but the studio does not perceive tags in resources. also tried through TextWatcher but did not succeed (