Skip to content

When image height bigger than textHeight,the image can not be in center #1

@shiqos

Description

@shiqos

From CustomImageSpan.java

@public void draw() {
       ......
        if (drawableHeight > textHeight) {
            super.draw(canvas, text, start, end, x, top, y, bottom, paint);
            return;
        }
       .....

From code we can get that if Image height bigger than textHeight and it will goto super.draw() and the SpecialGravityEnum will no effect

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