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 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.