setText() で BOLD テキストを表示したいのですが、テキストが BOLD ではないことがわかりました :( どうすればこの問題を解決できますか?
ここに私のコード: String.xml :
<string name="country"><b>AMERICA-default</b></string>
私のJavaコード:
Resources resources;
TextView tvCountry;
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
Log.d("test","onCreate()-second Activity");
setContentView(R.layout.activity_second);
resources = getResources();
tvCountry = (TextView) findViewById(R.id.tvCountry);
tvCountry.setText(resources.getString(R.string.country));//its not working !Text is not bold!
//CANNOT USE : tvCountry.setText(R.string.country);
}