"가나다라마바사아" 란 text가 있습니다.

 

string.xml에서 <string name="text"><xliff:g>%s</xliff:g><xliff:g>%s</xliff:g><xliff:g>%s</xliff:g>라마바사아</string>

 

로 정의한 후

 

String name1 = "가";
String name2 = "나";
String name3 = "다";

String message = String.format(getContext().getString(R.string.name), name1,name2,name3);

 

으로 값을 넣었습니다.

 

가, 나, 다 의 색이나 폰트, 사이즈 등을 자바코드에서 변경하려고 하는데 어떻게 변경할 수 있나요?

 

예로 폰트는

 

Typeface Bold_kor = Typeface.createFromAsset(getContext().getAssets(), "fonts/Moebius_Bold_kor.ttf");

text1=(TextView)findViewById(R.id.text1);

text1.setTypeface(Bold_kor);

 

이런 식으로 적용하고 있습니다.