Skip to content

How to rotate a DynamicLayout newly implemented in your API? #24

Description

@Jars-of-jam-Scheduler

Hi,

I'm using your API "RotatingText" on my Android app (https://github.com/mdg-iitr/RotatingText).
I've seen a bug: when the text is too long, the last letters overlap on top of each other.
That's because you don't use any layout (dynamiclayout e.g.) in your widget-class RotatingTextSwitcher.

So I use a dynamiclayout. A new problem occurs: it's not animated (in other words: its texts are not rotated). Indeed, I must use layout.draw(canvas); and I can't use canvas.drawTextOnPath(). That explains why there isn't any animation.

Please, can you tell me how to make my dynamiclayout and/or it's text rotate in these conditions?

I have created a well-received Stackoverflow question. A bounty of 300 is available ;-) : https://stackoverflow.com/questions/60028812/android-rotating-text-i-use-dynamiclayout-drawcanvas-but-it-doesnt-animate-a

I hope you will answer me as soon as possible,
Thank you in advance,
Best regards,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions