Commit d386f1ed authored by Adrien Maglo's avatar Adrien Maglo

Audio player: fix the position of the playlist top overlay shadow on old Android versions

parent 089e4e6b
......@@ -151,7 +151,7 @@ public class AudioPlaylistView extends ListView {
mShadowDrawable.setBounds(left, top, right, bottom);
mShadowDrawable.draw(c);
c.rotate(180, c.getWidth() / 2, c.getHeight() / 2);
c.rotate(180, getWidth() / 2, getHeight() / 2);
mShadowDrawable.setBounds(left, top, right, bottom);
mShadowDrawable.draw(c);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment