android-autofittextview icon indicating copy to clipboard operation
android-autofittextview copied to clipboard

Auto fit doesn't work with extra line space

Open ankur2136 opened this issue 9 years ago • 1 comments

<me.grantland.widget.AutofitTextView
    android:id="@+id/tv_description"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="0.4"
    android:lineSpacingExtra="6sp"
    android:textColor="@color/black"
    android:textSize="12sp"
    autofit:minTextSize="8sp"/>

When using lineSpacingExtra, resizing doesn't work.

ankur2136 avatar Aug 13 '15 11:08 ankur2136

have you tried to put the line height in html and then load the Html.format(String string)?

ViksaaSkool avatar Feb 05 '16 00:02 ViksaaSkool