Skip to content

java.lang.IllegalArgumentException #31

@jingmaolin

Description

@jingmaolin

java.lang.IllegalArgumentException: PrecomputedText's Parameters don't match the parameters of this TextView.Consider using setTextMetricsParams(precomputedText.getParams()) to override the settings of this TextView: PrecomputedText: {textSize=54.0, textScaleX=1.0, textSkewX=0.0, letterSpacing=0.0, textLocale=[zh_CN_#Hans], typeface=android.graphics.Typeface@e9694cd9, variationSettings=null, elegantTextHeight=false, textDir=android.text.TextDirectionHeuristics$TextDirectionHeuristicInternal@7722aa5, breakStrategy=1, hyphenationFrequency=1}TextView: {textSize=54.0, textScaleX=1.0, textSkewX=0.0, letterSpacing=0.0, textLocale=[zh_CN_#Hans], typeface=android.graphics.Typeface@e9694cd9, variationSettings=null, elegantTextHeight=false, textDir=android.text.TextDirectionHeuristics$TextDirectionHeuristicInternal@7722aa5, breakStrategy=1, hyphenationFrequency=1}
at android.widget.TextView.setText(TextView.java:6264)
at android.widget.TextView.setText(TextView.java:6180)
at com.ashokvarma.gander.internal.support.TextUtil$1$1.run(TextUtil.java:55)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7037)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions