Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a problem when the canvas rotate #3

Open
cundong opened this issue Jul 22, 2015 · 6 comments
Open

a problem when the canvas rotate #3

cundong opened this issue Jul 22, 2015 · 6 comments

Comments

@cundong
Copy link

cundong commented Jul 22, 2015

when call canvas.rotate() on onDraw()

The middle button is always shake.

@iammert
Copy link
Owner

iammert commented Jul 22, 2015

@cundong could not obverse that problem on my note 4(my device) and nexus 4(Genymotion). Is shake so visible? And can you tell me which device you are running?

onDraw method rotates canvas, draws cover and rotate it back to 0 degree to draw button, progress etc. I know it is little tricky but it was not visible to me.

@iammert
Copy link
Owner

iammert commented Jul 22, 2015

@cundong I will find better solution on free time btw.

@cundong
Copy link
Author

cundong commented Jul 22, 2015

my device are MOTO G(Android 4.4.4) and Nexus(Android 4.4.4)

I recorded a video ,You can look at

https://github.com/cundong/MusicPlayerView/blob/master/art/device-Nexus4.mp4

@iammert
Copy link
Owner

iammert commented Jul 22, 2015

Now i see. I will fix it as soon as possible. Sorry for the bug.

@cundong
Copy link
Author

cundong commented Jul 22, 2015

I think,perhaps there is a better solution than "roate a canvas". but i have no good idea now.

@iammert
Copy link
Owner

iammert commented Jul 22, 2015

Exactly, as I said it is little tricky. I didnt think that it will be visible by people. I did not know what is solution but I know that always there is a better solution :) thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants