Skip to content

How to scale text view width and height independently? #2

@martinbaciga

Description

@martinbaciga

Hi @niravkalola, i was trying to scale the text view width and heigh independently with the same scale button that you're using.

I've tried to change this

StickerView.this.getLayoutParams().width += offset; StickerView.this.getLayoutParams().height += offset;

by this

StickerView.this.getLayoutParams().width += offsetX; StickerView.this.getLayoutParams().height += offsetY;

in both cases (scale up and down).

But this works weird, something more needs to be done here. Do you know how i can manage to do that?

Thanks!

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