Package 

Class CustomLineHeightSpan

  • All Implemented Interfaces:
    android.text.style.LineHeightSpan , android.text.style.ParagraphStyle , android.text.style.WrapTogetherSpan , com.facebook.react.views.text.ReactSpan

    
    public class CustomLineHeightSpan
     implements LineHeightSpan, ReactSpan
                        

    We use a custom LineHeightSpan, because `lineSpacingExtra` is broken. Details here: https://github.com/facebook/react-native/issues/7546

    • Method Summary

      Modifier and Type Method Description
      void chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm)
      • Methods inherited from class android.text.style.LineHeightSpan

        chooseHeight
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait