Android examples for java.lang:String HTML
Create HTML Error String Html
import android.text.Html; import android.text.Spanned; import java.util.ArrayList; import java.util.List; public class Main{ public static Spanned getErrorString(String msg) { return Html.fromHtml("<font color=#000>" + msg + "</font>"); }//from w ww . java 2 s. com }