📅  最后修改于: 2022-03-11 14:53:33.346000             🧑  作者: Mango
代码示例1
TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_SP,
20F, // enter your SP value here
Resources.getSystem().displayMetrics
)