RotatingText icon indicating copy to clipboard operation
RotatingText copied to clipboard

How to rotate a DynamicLayout newly implemented in your API?

Open Jars-of-jam-Scheduler opened this issue 5 years ago • 0 comments

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,

Jars-of-jam-Scheduler avatar Mar 13 '20 19:03 Jars-of-jam-Scheduler