diff --git a/VitamioBundle/res/drawable-hdpi/mediacontroller_ff_left.png b/VitamioBundle/res/drawable-hdpi/mediacontroller_ff_left.png deleted file mode 100644 index 389f03f..0000000 --- a/VitamioBundle/res/drawable-hdpi/mediacontroller_ff_left.png +++ /dev/null diff --git a/VitamioBundle/res/drawable-hdpi/mediacontroller_ff_right.png b/VitamioBundle/res/drawable-hdpi/mediacontroller_ff_right.png deleted file mode 100644 index 2473406..0000000 --- a/VitamioBundle/res/drawable-hdpi/mediacontroller_ff_right.png +++ /dev/null diff --git a/VitamioBundle/res/layout/mediacontroller.xml b/VitamioBundle/res/layout/mediacontroller.xml index 65b08da..0128b2c 100644 --- a/VitamioBundle/res/layout/mediacontroller.xml +++ b/VitamioBundle/res/layout/mediacontroller.xml @@ -40,37 +40,63 @@ + android:src="@android:drawable/ic_media_pause" /> + android:src="@android:drawable/ic_media_rew" /> + android:src="@android:drawable/ic_media_ff" /> + + + + diff --git a/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java b/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java index a695f03..8fc01ee 100644 --- a/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java +++ b/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java @@ -20,6 +20,7 @@ package io.vov.vitamio.widget; import io.vov.utils.Log; import io.vov.utils.StringUtils; import io.vov.vitamio.R; +import android.R.drawable; import android.content.Context; import android.graphics.Rect; import android.media.AudioManager; @@ -468,9 +469,9 @@ public class MediaController extends FrameLayout { return; if (mPlayer.isPlaying()) - mPauseButton.setImageResource(R.drawable.mediacontroller_pause_button); + mPauseButton.setImageResource(drawable.ic_media_pause); else - mPauseButton.setImageResource(R.drawable.mediacontroller_play_button); + mPauseButton.setImageResource(drawable.ic_media_play); } private void doPauseResume() {