RadioButton 代码设置字体样式
2020-07-22 本文已影响0人
smartfan
2020-07-22
setTextAppearance:修改布局内文字的外观样式:
选中加粗:mRbMain1.setTextAppearance(R.style.txt_bold);
未选中默认:mRbMain1.setTextAppearance(R.style.txt_nomal);
setTextAppearance:修改布局内文字的外观样式:
选中加粗:mRbMain1.setTextAppearance(R.style.txt_bold);
未选中默认:mRbMain1.setTextAppearance(R.style.txt_nomal);