setTypeface

设置字体 TextView.setTypeface

Return

TextView

Parameters

id

视图ID

tf

字体


fun setTypeface(@IdRes id: Int, tf: Typeface?, style: Int): TextView

设置字体 TextView.setTypeface

Return

TextView

Parameters

id

视图ID

tf

字体

style

字体样式