adp-path-morph-play-to-pause icon indicating copy to clipboard operation
adp-path-morph-play-to-pause copied to clipboard

change between play to pause

Open AviadKlein10 opened this issue 7 years ago • 4 comments

Hi great library I'm looking for a way to set the playPauseView to play/pause but without animation

thank you

AviadKlein10 avatar Mar 27 '17 13:03 AviadKlein10

I forked the drawable and made some adjustments (one of it is that you can specify to run it with / without animation) in my audiobook player:

https://github.com/PaulWoitaschek/MaterialAudiobookPlayer/blob/v3.1.0-RC4/audiobook/src/main/java/de/ph1b/audiobook/uitools/PlayPauseDrawable.kt#L139

PaulWoitaschek avatar Mar 27 '17 13:03 PaulWoitaschek

Thank you! but I need that in Java. can you help?

AviadKlein10 avatar Mar 27 '17 15:03 AviadKlein10

Just write it in Java? Or if you are using the original one try to set the duration to 0

PaulWoitaschek avatar Mar 27 '17 18:03 PaulWoitaschek

I tried for the first time to write in java code from another language. It went well but in this case all the code needed to change. So I Just try to play with the duration and it went great! Thank you very much have a wonderful Day!

בתאריך 27 במרץ 2017 21:29,‏ "Paul Woitaschek" [email protected] כתב:

Just write it in Java? Or if you are using the original one try to set the duration to 0

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexjlockwood/material-pause-play-animation/issues/8#issuecomment-289542378, or mute the thread https://github.com/notifications/unsubscribe-auth/AQzN4FmK86G_8QVMCzRNiTyf4Wb2oc8Iks5rp__tgaJpZM4MqQg5 .

AviadKlein10 avatar Mar 28 '17 08:03 AviadKlein10