Material Design play/pause Drawable with animation, compatible with Android 4.0+.
Why MaterialPlayPauseDrawable?
- Correct play icon that is the same as the one in Material Design Icons, not horizontally stretched. - Robust state handling that always animates to the correct final state without visual glitch. - Can be used flexibly as Drawable, ImageView or ImageButton. - Drawable comes with the intrinsic size of 24dp. - Compatible down to Android 4.0.