set Fractional Text Size
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
fraction Of Height
A fraction between 0 and 1.
Sets the text size to be a fraction of the height of this view.
Parameters
fraction Of Height
A fraction between 0 and 1.
ignore Padding
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.