diff --git a/VitamioBundle/res/layout/mediacontroller.xml b/VitamioBundle/res/layout/mediacontroller.xml index 0128b2c..65b08da 100644 --- a/VitamioBundle/res/layout/mediacontroller.xml +++ b/VitamioBundle/res/layout/mediacontroller.xml @@ -40,63 +40,37 @@ + android:src="@drawable/mediacontroller_pause_button" /> + android:src="@drawable/mediacontroller_ff_left" /> - - - - + android:src="@drawable/mediacontroller_ff_right" /> diff --git a/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java b/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java index 8fc01ee..a695f03 100644 --- a/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java +++ b/VitamioBundle/src/io/vov/vitamio/widget/MediaController.java @@ -20,7 +20,6 @@ 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; @@ -469,9 +468,9 @@ public class MediaController extends FrameLayout { return; if (mPlayer.isPlaying()) - mPauseButton.setImageResource(drawable.ic_media_pause); + mPauseButton.setImageResource(R.drawable.mediacontroller_pause_button); else - mPauseButton.setImageResource(drawable.ic_media_play); + mPauseButton.setImageResource(R.drawable.mediacontroller_play_button); } private void doPauseResume() {