中文设置粗体:
TextView mTVTest=(TextView) findViewById(R.id.testTextView);
mTVTest.getPaint().setFakeBoldText(true);
英文可以直接在XML中设置粗体
android:textStyle="bold"
中文设置粗体:
TextView mTVTest=(TextView) findViewById(R.id.testTextView);
mTVTest.getPaint().setFakeBoldText(true);
英文可以直接在XML中设置粗体
android:textStyle="bold"