set Text Size
Set the default text size to the given value, interpreted as "scaled pixel" units. This size is adjusted based on the current density and user font size preference.
Parameters
size
The scaled pixel size.
Set the default text size to a given unit and value. See TypedValue for the possible dimension units.
Parameters
unit
The desired dimension unit.
size
The desired size in the given units.