Highlight some text in Android textview
•
Android
Highlight some text in Android textview
The start and end parameters are passed to 0 by default. When there is a sign before and after the keyword to be highlighted (such as [highlight]), the start and end parameters can be passed to 1.
Call method
The effect is shown in the following figure:
Thank you for reading, hope to help you, thank you for your support to this site!
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码