You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The digitTextSize attribute sets the digit text size to a much bigger value than the one in the input on Android 7.
The cause might be digitView.setTextSize(digitTextSize); in the addViews() method, as digitTextSize is a dimension in PX and not passing the unit to setTextSize defaults it to COMPLEX_UNIT_SP. So the size defined in SP is converted to PX, then the resulting "n PX" is treated as "n SP".
For some odd reason on Android 7.1.2 it defaults to something else so the text is very small.
The text was updated successfully, but these errors were encountered:
The digitTextSize attribute sets the digit text size to a much bigger value than the one in the input on Android 7.
The cause might be
digitView.setTextSize(digitTextSize);
in theaddViews()
method, asdigitTextSize
is a dimension in PX and not passing the unit to setTextSize defaults it to COMPLEX_UNIT_SP. So the size defined in SP is converted to PX, then the resulting "n PX" is treated as "n SP".For some odd reason on Android 7.1.2 it defaults to something else so the text is very small.
The text was updated successfully, but these errors were encountered: