Question : sp to px kotlin
Answered by : priyam-harsh
TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_SP, 20F, // enter your SP value here Resources.getSystem().displayMetrics
)
Source : | Last Update : Wed, 12 Jan 22
Answered by : priyam-harsh
TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_SP, 20F, // enter your SP value here Resources.getSystem().displayMetrics
)
Source : | Last Update : Wed, 12 Jan 22