0
請幫我在textview中爲文本添加粗體屬性。 比如,我用下面的代碼來設置TextView的文本顏色,如何在android studio的代碼中爲Textview文本設置粗體
tv_subtitle.setTextColor(mContext.getResources().getColor(R.color.color_menu_orange_text));
現在我要爲這個textview.But我不知道我該怎麼做,設置粗體? 請幫幫我。
非常感謝@ xuan-thu –