[android] apply different colors on the texts in the textview using xml 안드로이드, apply different colors on the texts in the textview using xml Here is a text. This is red color]]> and This is green color]]>. Like it? Various text color is not applied directly.You need to convert the string as a Spanned form with Html.fromHtml function. 다양한 색상이 바로 적용되지 않습니다.해당 string 을 Html.fromHtml 함수를 이용하여 Spanned 형태로 전환해야 합니다. textView.setText( Html.fromHtml( getString( R.string.var.. 2013. 10. 21. 반응형 이전 1 다음