From 4bf5db1001c6d3ecf21b74d073a6786e486d8f3b Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Tue, 18 Dec 2012 00:48:29 +0000 Subject: [PATCH] Revertidos los botones por falta de tiempo --- VitamioBundle/res/layout/mediacontroller.xml | 46 ++++++++++------------------------------------ VitamioBundle/src/io/vov/vitamio/widget/MediaController.java | 5 ++--- 2 files changed, 12 insertions(+), 39 deletions(-) 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() { -- libgit2 0.22.2