setFractionalTextSize
Sets the text size to be a fraction of the views remaining height after its top and bottom padding have been subtracted.
Equivalent to #setFractionalTextSize(fractionOfHeight, false)
.
Parameters
fractionOfHeight
A fraction between 0 and 1.
Sets the text size to be a fraction of the height of this view.
Parameters
fractionOfHeight
A fraction between 0 and 1.
ignorePadding
Set to true if fractionOfHeight
should be interpreted as a fraction of this view's height ignoring any top and bottom padding. Set to false if fractionOfHeight
should be interpreted as a fraction of this view's remaining height after the top and bottom padding has been subtracted.