The Android TextView clips off my text subscripts (see image below) even when I use android:layout_height="wrap_content"
for the TextView.
Is there a fix/work-around for this?
P/S: Superscripts work fine
Note: padding doesn't work.
Sample Code:
mtTextView.setText(Html.fromHtml("HC0<sub>3</sub>"));
This solution worked for me.
Superscripted text is usually made smaller when the browser renders it, that doesn't seem to happen here so you can replicate that (and solve this problem) by doing this:
someTextView.setText(Html.fromHtml("Some text<sup><small>1</small></sup>"));