问题描述:

The jap chars comes from server as json so this how to make bold textview android japanese character doesn't apply to me.

I tried the following but to no avail.

title.setTypeface(null,Typeface.BOLD);

android:textStyle="bold"

title.setText(Html.fromHtml("<b>" + data.getBookTitle() + "</b>"));

网友答案:

I still can't bold it, but you can achieve a somewhat the same approach through the use of shadows in the xml, just add these to your textviews, edit the values to your liking.

This also applies to most foreign characters, not just jap chars.

android:shadowColor="#000000"
android:shadowDx="0.1"
android:shadowDy="0.1"
android:shadowRadius="0.5"
相关阅读:
Top