TextView

117 阅读1分钟

动态的设置文字大小

dimension = mContext.getResources().getDimension(R.dimen.sp_08);

setTextSize(TypedValue.COMPLEX_UNIT_PX,dimension);